mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 14:13:52 +01:00
leave newlines, because we are in a <pre><code>
This commit is contained in:
parent
4c17fa1745
commit
08b4af3fa4
@ -172,6 +172,6 @@ impl ThemeGen for HtmlDefaultTheme {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fn nocolor(&self, text: &str, t: &mut String) {
|
fn nocolor(&self, text: &str, t: &mut String) {
|
||||||
t.push_str(html_escape::encode_text(text).replace("\n", "<br>\n"));
|
html_escape::encode_text_to_string(text, t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user