PrismJS / prism

Lightweight, robust, elegant syntax highlighting.
https://prismjs.com
MIT License
12.3k stars 1.3k forks source link

C# some quotes in a raw string literal aren't highlighted properly #3823

Open Arthri opened 1 month ago

Arthri commented 1 month ago

Information:

Description The third double quote of the first and fifth line are not highlighted like the other four

Example Prism.js test page

_ = """
{
  "A": "B"
}
""";
Nintynuts commented 2 weeks ago

Yep, also the slightly older verbatim string format. Prism.js test page

_ = @"String\Without\""Escape""\Characters\";