1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-12-27 21:35:41 +00:00

Don't add html tags to colourless pasties.

This commit is contained in:
King_DuckZ 2017-06-18 01:11:16 +01:00
parent 0dd4f712a8
commit 2bc671280e

View file

@ -93,10 +93,7 @@ namespace kamokan {
} }
else { else {
tawashi::Escapist houdini; tawashi::Escapist houdini;
std::ostringstream oss; processed_pastie = houdini.escape_html(parPastie);
oss << R"(<pre><tt><font color="#EDEDED">)";
oss << houdini.escape_html(parPastie) << "</font></tt></pre>\n";
processed_pastie = oss.str();
} }
if (not m_plain_text and m_syntax_highlight) { if (not m_plain_text and m_syntax_highlight) {