Skip to content

Commit 4e9975d

Browse files
committed
issue #10573 Behavior of quotes in markdown type of links
Looks like a regression on: ``` Commit: 351dba6 [351dba6] Date: Sunday, December 17, 2023 7:52:34 PM issue #10475 doxygen does not correctly render link content in MarkDown file ``` Especially the change in markdown.cpp from: ``` m_out.addStr(substitute(content,"\"",""")); ``` into ``` processInline(content.data(),content.length()); ``` The double quotes need the "escape" before processing. (Also checked against #10475)
1 parent db523de commit 4e9975d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/markdown.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ int Markdown::Private::processLink(const std::string_view data,size_t offset)
15231523
}
15241524
else
15251525
{
1526-
processInline(std::string_view(content.str()));
1526+
processInline(std::string_view(substitute(content,"\"",""").str()));
15271527
}
15281528
out+="\"";
15291529
}

0 commit comments

Comments
 (0)