sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
2.88k stars 72 forks source link

Quotation marks are misrecognized in YAML #261

Open VoxDai opened 10 months ago

VoxDai commented 10 months ago

Hi, there are some issues when highlighting YAML files. Seems like it doesn't recognize quotation marks correctly.

For example:

截屏2023-11-01 00 09 44 截屏2023-11-01 00 13 06
VoxDai commented 10 months ago

It seems like the problem is caused by double forward slash // , not by quotation mark ' Here is an example comparing VSCode to Syntax:

截屏2023-11-01 10 36 14

And if I delete one slash mark in url, it would work just fine(if ignore line 4, hex esc is still not right), like this:

截屏2023-11-01 11 00 31
VoxDai commented 10 months ago

104