do not escape heading text
This commit is contained in:
parent
45c808d0d0
commit
ae803a55d2
|
@ -436,7 +436,7 @@ impl HeadingText {
|
||||||
pub fn new_lossy(line: impl Cowy<str>) -> Self {
|
pub fn new_lossy(line: impl Cowy<str>) -> Self {
|
||||||
let line = strip_newlines(line);
|
let line = strip_newlines(line);
|
||||||
|
|
||||||
Self(lossy_escaped_line(line, &[HEADING_START]))
|
Self(line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue