summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-04-30 10:26:12 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-04-30 10:26:12 (GMT)
commit2683d17907e64df64f7bc2ed9e397928aa8e10c2 (patch)
tree2b2712b3a9363b7c45fa4fa756346947c5d3b8a9 /src/doctokenizer.l
parent44d55811919cca36ba0709d805fd5b1478fdf4ea (diff)
downloadDoxygen-2683d17907e64df64f7bc2ed9e397928aa8e10c2.zip
Doxygen-2683d17907e64df64f7bc2ed9e397928aa8e10c2.tar.gz
Doxygen-2683d17907e64df64f7bc2ed9e397928aa8e10c2.tar.bz2
issue #8525 Links aren't properly rendered when preceded by quoted text
2 or more returns inside a quoted text were not handled properly, added a repeat count.
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index bfbc345..3897290 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -426,7 +426,7 @@ LNKWORD3 ([0-9a-z_A-Z\-]+("/"|"\\"))*[0-9a-z_A-Z\-]+("."[0-9a-z_A-Z]+)+
CHARWORDQ [^ \t\n\r\\@<>()\[\]:;\?{}&%$#,."=']
ESCWORD ("%"{ID}(("::"|"."){ID})*)|("%'")
CHARWORDQ1 [^ \-+0-9\t\n\r\\@<>()\[\]:;\?{}&%$#,."=']
-WORD1 {ESCWORD}|{CHARWORDQ1}{CHARWORDQ}*|"{"|"}"|"'\"'"|("\""[^"\n]*\n?[^"\n]*"\"")
+WORD1 {ESCWORD}|{CHARWORDQ1}{CHARWORDQ}*|"{"|"}"|"'\"'"|("\""([^"\n]*\n?)*[^"\n]*"\"")
WORD2 "."|","|"("|")"|"["|"]"|"::"|":"|";"|"\?"|"="|"'"
WORD1NQ {ESCWORD}|{CHARWORDQ}+|"{"|"}"
WORD2NQ "."|","|"("|")"|"["|"]"|"::"|":"|";"|"\?"|"="|"'"