LibMarkdown: Escape HTML entities in text

This commit is contained in:
Linus Groh 2020-05-05 15:11:39 +01:00 committed by Andreas Kling
commit 0a1ecbec48
Notes: sideshowbarker 2024-07-19 06:57:00 +09:00
2 changed files with 1 additions and 2 deletions

View file

@ -60,7 +60,6 @@ String CodeBlock::render_to_html() const
else
builder.appendf("<code style=\"white-space: pre;\" class=\"%s\">", style_language.characters());
// TODO: This should also be done in other places.
builder.append(escape_html_entities(m_code));
builder.append("</code>");