diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pre.l | 4 | ||||
-rw-r--r-- | src/scanner.l | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -2465,7 +2465,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) BEGIN(SkipVerbatim); } } -<SkipCComment>"```"[~]* { +<SkipCComment>"```"[`]* { static bool markdownSupport = Config_getBool("MARKDOWN_SUPPORT"); if (!markdownSupport) { @@ -2619,7 +2619,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) BEGIN(SkipCComment); } } -<SkipVerbatim>"```"[~]* { +<SkipVerbatim>"```"[`]* { outputArray(yytext,(int)yyleng); if (g_fenceSize==yyleng) { diff --git a/src/scanner.l b/src/scanner.l index b9243c9..c309289 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6271,7 +6271,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) g_nestedComment=FALSE; BEGIN(DocCopyBlock); } -<DocBlock>"```"[~]* { +<DocBlock>"```"[`]* { docBlock+=yytext; docBlockName="```"; g_fencedSize=yyleng; @@ -6396,7 +6396,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) BEGIN(DocBlock); } } -<DocCopyBlock>"```"[~]* { +<DocCopyBlock>"```"[`]* { docBlock+=yytext; if (g_fencedSize==yyleng) { |