mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibMarkdown: Escape HTML entities in text
This commit is contained in:
committed by
Andreas Kling
parent
fc3d16d664
commit
0a1ecbec48
@@ -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>");
|
||||
|
||||
Reference in New Issue
Block a user