highlightjs/highlight.js

(C++) Incorrect highlight of raw string literals

Open

#3,585 建立於 2022年7月16日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)JavaScript (22,960 star) (3,497 fork)batch import
buggood first issuehelp welcomelanguage

描述

Incorrect highlight of raw string literals

A raw string literal will cause any code following it to be highlighted as a string.

屏幕截图(18)

Expected behavior

// just to show the error
vector<string> s({R"(JKhf2n"v; 0>qwv>q " JKhf2n"l0 "v42HHf&g )","4U \"N *+ "});
int other_code;  // just to show the error

貢獻者指南