Skip to content

Commit

Permalink
issue #10747 Alias replaces HTML brackets to HTML codes, e.g "<img sr…
Browse files Browse the repository at this point in the history
…c=..." 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.
  • Loading branch information
albert-github committed Mar 18, 2024
1 parent 341d5b7 commit 008a92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ int Markdown::Private::processLink(const std::string_view data,size_t offset)
out+=" ";
out+=externalLinkTarget();
out+=">";
content = substitute(content.simplifyWhiteSpace(),"\"","\\\"");
content = content.simplifyWhiteSpace();
processInline(std::string_view(content.str()));
out+="</a>";
}
Expand Down

0 comments on commit 008a92c

Please sign in to comment.