diff options
author | albert-github <albert.tests@gmail.com> | 2021-01-07 17:27:04 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2021-01-07 17:27:04 (GMT) |
commit | a402beb8e0c0c2fcaaf4b6317d31d52a767e930d (patch) | |
tree | 28136c73781fd45e436c0c0a48e22b8d28516f2e | |
parent | 3f4717ec5583dde8116205e1045095158ab56c15 (diff) | |
download | Doxygen-a402beb8e0c0c2fcaaf4b6317d31d52a767e930d.zip Doxygen-a402beb8e0c0c2fcaaf4b6317d31d52a767e930d.tar.gz Doxygen-a402beb8e0c0c2fcaaf4b6317d31d52a767e930d.tar.bz2 |
issue #8311 Markdown table: double-quote ruins the output
In case of an artificial line break and the string starting with a `"` reject the rule, so lonely `"` are handled properly.
-rw-r--r-- | src/doctokenizer.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 330db00..36da1d7 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -755,6 +755,8 @@ RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revisio <St_Para,St_Text>[\-+0-9] | <St_Para,St_Text>{WORD1} | <St_Para,St_Text>{WORD2} { /* function call */ + QCString tmp = yytext; + if (tmp.contains("\\ilinebr")>0) REJECT; lineCount(yytext,yyleng); if (yytext[0]=='%') // strip % if present g_token->name = &yytext[1]; @@ -1042,6 +1044,8 @@ RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revisio <St_TitleN>[\-+0-9] | <St_TitleN>{WORD1} | <St_TitleN>{WORD2} { /* word */ + QCString tmp = yytext; + if (tmp.contains("\\ilinebr")>0) REJECT; lineCount(yytext,yyleng); if (yytext[0]=='%') // strip % if present g_token->name = &yytext[1]; |