diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-06-23 14:30:22 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2025-06-23 15:56:01 +0200 |
| commit | f8dc1ad3bdbe20ec25379427e6afba36c75ec08c (patch) | |
| tree | 84dca4a33f24d8ea065eff30d142263be9cfdcb6 /tests/suite/html/syntax.typ | |
| parent | 9050ee1639a20463e3cafce58964c9ef0fa38205 (diff) | |
Handle pre elements that start with a newline
Diffstat (limited to 'tests/suite/html/syntax.typ')
| -rw-r--r-- | tests/suite/html/syntax.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/suite/html/syntax.typ b/tests/suite/html/syntax.typ index c95fa06e..fb5caf3b 100644 --- a/tests/suite/html/syntax.typ +++ b/tests/suite/html/syntax.typ @@ -5,3 +5,8 @@ --- html-void-element-with-children html --- // Error: 2-27 HTML void elements must not have children #html.elem("img", [Hello]) + +--- html-pre-starting-with-newline html --- +#html.pre("hello") +#html.pre("\nhello") +#html.pre("\n\nhello") |
