Skip to content

Commit

Permalink
Bug 726469 - Tilde sign in combination with <pre> and MARKDOWN_SUPPOR…
Browse files Browse the repository at this point in the history
…T disabled
  • Loading branch information
Dimitri van Heesch committed Apr 12, 2014
1 parent 513ce9a commit 721764a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scanner.l
Expand Up @@ -6205,7 +6205,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
g_nestedComment=FALSE; g_nestedComment=FALSE;
BEGIN(DocCopyBlock); BEGIN(DocCopyBlock);
} }
<DocBlock>"<"{PRE}">" { <DocBlock>{B}*"<"{PRE}">" {
docBlock+=yytext; docBlock+=yytext;
docBlockName="<pre>"; docBlockName="<pre>";
g_fencedSize=0; g_fencedSize=0;
Expand All @@ -6221,6 +6221,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
} }
<DocBlock>"~~~"[~]* { <DocBlock>"~~~"[~]* {
docBlock+=yytext; docBlock+=yytext;
docBlockName="~~~";
g_fencedSize=yyleng; g_fencedSize=yyleng;
g_nestedComment=FALSE; g_nestedComment=FALSE;
BEGIN(DocCopyBlock); BEGIN(DocCopyBlock);
Expand Down

0 comments on commit 721764a

Please sign in to comment.