sbarex / SourceCodeSyntaxHighlight

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

Quotation marks are misrecognized in YAML #261

Open VoxDai opened 1 year ago

VoxDai commented 1 year 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 1 year 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 1 year ago

104