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:
parent
0dd4f712a8
commit
2bc671280e
1 changed files with 1 additions and 4 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue