summaryrefslogtreecommitdiff
path: root/Libraries/LibMarkdown/CodeBlock.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-05-05 15:11:39 +0100
committerAndreas Kling <kling@serenityos.org>2020-05-05 16:18:11 +0200
commit0a1ecbec48185af09ceca220f0ae4a73385b06cf (patch)
tree0a61a63f0379905ef66edaf15e3b2880af1acf02 /Libraries/LibMarkdown/CodeBlock.cpp
parentfc3d16d6646f7977067eae3fb0feb103704506c7 (diff)
downloadserenity-0a1ecbec48185af09ceca220f0ae4a73385b06cf.zip
LibMarkdown: Escape HTML entities in text
Diffstat (limited to 'Libraries/LibMarkdown/CodeBlock.cpp')
-rw-r--r--Libraries/LibMarkdown/CodeBlock.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Libraries/LibMarkdown/CodeBlock.cpp b/Libraries/LibMarkdown/CodeBlock.cpp
index ca27dad1bf..f35a29cf67 100644
--- a/Libraries/LibMarkdown/CodeBlock.cpp
+++ b/Libraries/LibMarkdown/CodeBlock.cpp
@@ -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>");