yari icon indicating copy to clipboard operation
yari copied to clipboard

feat(search): add more special character mappings

Open caugner opened this issue 2 years ago • 0 comments

Summary

Ref https://github.com/mdn/yari/issues/8921 https://github.com/mdn/yari/issues/9749

Problem

The full-text search silently drops certain special characters, preventing users from searching for <!-- or ${.

Solution

Map more known special character compositions using unicorns_char_filter.


Screenshots

Before

After


How did you test this change?

TBD by running a stage deploy.

caugner avatar Sep 29 '23 15:09 caugner