Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d9c3edb

Browse files
committed
Add test for <!/foo>. Add a newline to the end of a ark.dat.
1 parent 0da588c commit d9c3edb

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

tree-construction/scripted/ark.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
| size="4"
2424
| <font>
2525
| size="4"
26-
| "X"
26+
| "X"

tree-construction/tests26.dat

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,3 +294,18 @@
294294
| <p>
295295
| <i>
296296
| "a"
297+
298+
#data
299+
<!DOCTYPE html><body><div><!/div>a
300+
#errors
301+
29: Bogus comment.
302+
34: End of file seen and there were open elements.
303+
26: Unclosed element “div”.
304+
#document
305+
| <!DOCTYPE html>
306+
| <html>
307+
| <head>
308+
| <body>
309+
| <div>
310+
| <!-- /div -->
311+
| "a"

0 commit comments

Comments
 (0)