feat: support line breaks
This commit is contained in:
parent
6598095a9f
commit
58dfb022c2
10 changed files with 199 additions and 60 deletions
|
|
@ -166,3 +166,11 @@ fn table() {
|
|||
@"<main><section><table><thead><tr></tr></thead><tbody><tr></tr></tbody><tbody><tr></tr></tbody></table></section></main>"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn line_break() {
|
||||
insta::assert_debug_snapshot!(
|
||||
Org::parse("aa\\\\\nbb").to_html(),
|
||||
@r###""<main><section><p>aa<br/>bb</p></section></main>""###
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue