summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pre.l4
-rw-r--r--src/scanner.l4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pre.l b/src/pre.l
index 7865966..92912e6 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -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)
{