summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-04-30 17:58:31 (GMT)
committerGitHub <noreply@github.com>2021-04-30 17:58:31 (GMT)
commit487daf86335f91be24bebaf89920828b5f3c3d73 (patch)
tree26b34d48a6d11b2bf01e22c0acc7eeac5f9debc8 /src
parent58dea2333cbc7f7bb51c711f8f7b09edf80789d8 (diff)
parent2683d17907e64df64f7bc2ed9e397928aa8e10c2 (diff)
downloadDoxygen-487daf86335f91be24bebaf89920828b5f3c3d73.zip
Doxygen-487daf86335f91be24bebaf89920828b5f3c3d73.tar.gz
Doxygen-487daf86335f91be24bebaf89920828b5f3c3d73.tar.bz2
Merge pull request #8527 from albert-github/feature/issue_8525
issue #8525 Links aren't properly rendered when preceded by quoted text
Diffstat (limited to 'src')
-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 "."|","|"("|")"|"["|"]"|"::"|":"|";"|"\?"|"="|"'"