#community-help

Highlighting Issue with Non-Alphabetical Symbols

TLDR Dima reports incorrect highlighting with non-alphabetical symbols, especially in long strings. Jason advises opening a GitHub issue.

Powered by Struct AI
Feb 28, 2023 (9 months ago)
Dima
Photo of md5-1b62114a658b760944aa7d2b4c274460
Dima
05:21 PM
Hi team! For some reason when word contains some non-alphabetical symbol it then has shifted highlighting. For example, if content is var(--icon) if will be found by q: varicon but the highlight will be <mark>var(--i</mark> instead of <mark>var(--icon</mark>. And also I’m not sure that it have to be found in the first place :thinking_face: Is it problem with my set up or it worths an issue at github?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:24 PM
Hmmm, sounds like a bug.

Could you open a GitHub issue with a set of curl commands like this that replicates the issue on a small dataset?
05:51
Dima
05:51 PM
I’m also found that for var(--icon) it highlights it right, I have stable problem only for long strings like var(--icon-some-long-value)