highlightjs/highlight.js
Voir sur GitHub(C++) Incorrect highlight of raw string literals
Open
#3 585 ouverte le 16 juil. 2022
buggood first issuehelp welcomelanguage
Métriques du dépôt
- Stars
- (22 960 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Incorrect highlight of raw string literals
A raw string literal will cause any code following it to be highlighted as a string.

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