Reference autocomplete in markdown and other inputs now works when typing
capitalized prefixes such as "Issue #", "Build #", and "Pull Request #".
The regex already matched these case-insensitively, but suggestion lookup
compared the type string case-sensitively; type is now normalized to
lowercase before lookup.
Fixes OD-2795
The reference input regex matches type prefixes case-insensitively, but
suggestion lookup compared them case-sensitively. Normalize to lowercase
after removing whitespace so "Issue #", "Build #", and "Pull Request #"
work in markdown and other reference inputs.
Co-authored-by: Cursor <[email protected]>
Fixes OD-2795.
Reference autocomplete in markdown and other inputs now works when typing capitalized prefixes such as "Issue #", "Build #", and "Pull Request #". The regex already matched these case-insensitively, but suggestion lookup compared the type string case-sensitively; type is now normalized to lowercase before lookup.