Skip to content

Commit 008a92c

Browse files
committed
issue #10747 Alias replaces HTML brackets to HTML codes, e.g "<img src=..." to "&lt;img src="
The fix in #8961 for #8956 (Section links in markdown mainpage not working) also changed the behavior of the `"` in the `<a href...` parts, this should not have been the case.
1 parent 341d5b7 commit 008a92c

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
@@ -1554,7 +1554,7 @@ int Markdown::Private::processLink(const std::string_view data,size_t offset)
15541554
out+=" ";
15551555
out+=externalLinkTarget();
15561556
out+=">";
1557-
content = substitute(content.simplifyWhiteSpace(),"\"","\\\"");
1557+
content = content.simplifyWhiteSpace();
15581558
processInline(std::string_view(content.str()));
15591559
out+="</a>";
15601560
}

0 commit comments

Comments
 (0)