do not escape heading text

This commit is contained in:
panicbit 2020-11-15 21:14:53 +01:00
parent 45c808d0d0
commit ae803a55d2

View file

@ -436,7 +436,7 @@ impl HeadingText {
pub fn new_lossy(line: impl Cowy<str>) -> Self {
let line = strip_newlines(line);
Self(lossy_escaped_line(line, &[HEADING_START]))
Self(line)
}
}