html-to-markdown 2.24.6 → 2.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +1 -1
  4. data/ext/html-to-markdown-rb/native/Cargo.lock +9 -32
  5. data/ext/html-to-markdown-rb/native/Cargo.toml +1 -1
  6. data/lib/html_to_markdown/version.rb +1 -1
  7. data/rust-vendor/html-to-markdown-rs/Cargo.toml +0 -1
  8. data/rust-vendor/html-to-markdown-rs/src/converter/main_helpers.rs +1 -1
  9. data/rust-vendor/html-to-markdown-rs/src/hocr/converter/hierarchy.rs +20 -5
  10. data/rust-vendor/html-to-markdown-rs/src/lib.rs +1 -0
  11. data/rust-vendor/{markup5ever_rcdom/lib.rs → html-to-markdown-rs/src/rcdom.rs} +56 -91
  12. data/rust-vendor/html-to-markdown-rs/tests/hocr_compliance_test.rs +157 -0
  13. data/rust-vendor/memmap2/.cargo-checksum.json +1 -1
  14. data/rust-vendor/memmap2/.cargo_vcs_info.json +1 -1
  15. data/rust-vendor/memmap2/CHANGELOG.md +8 -0
  16. data/rust-vendor/memmap2/Cargo.lock +1 -1
  17. data/rust-vendor/memmap2/Cargo.toml +2 -1
  18. data/rust-vendor/memmap2/Cargo.toml.orig +2 -1
  19. data/rust-vendor/memmap2/src/lib.rs +25 -1
  20. data/rust-vendor/memmap2/src/stub.rs +1 -4
  21. data/rust-vendor/memmap2/src/unix.rs +14 -1
  22. data/rust-vendor/png/.cargo-checksum.json +1 -1
  23. data/rust-vendor/png/.cargo_vcs_info.json +1 -1
  24. data/rust-vendor/png/CHANGES.md +44 -0
  25. data/rust-vendor/png/Cargo.lock +124 -171
  26. data/rust-vendor/png/Cargo.toml +1 -1
  27. data/rust-vendor/png/Cargo.toml.orig +1 -1
  28. data/rust-vendor/png/benches/expand_paletted.rs +5 -5
  29. data/rust-vendor/png/benches/unfilter.rs +3 -3
  30. data/rust-vendor/png/src/adam7.rs +17 -10
  31. data/rust-vendor/png/src/common.rs +8 -8
  32. data/rust-vendor/png/src/decoder/mod.rs +53 -20
  33. data/rust-vendor/png/src/decoder/stream.rs +263 -78
  34. data/rust-vendor/png/src/decoder/unfiltering_buffer.rs +210 -53
  35. data/rust-vendor/png/src/decoder/zlib.rs +130 -90
  36. data/rust-vendor/png/src/encoder.rs +4 -2
  37. data/rust-vendor/png/src/{filter.rs → filter/mod.rs} +100 -367
  38. data/rust-vendor/png/src/filter/optimization-notes.md +104 -0
  39. data/rust-vendor/png/src/filter/paeth.rs +398 -0
  40. data/rust-vendor/png/src/filter/simd.rs +308 -0
  41. data/rust-vendor/png/src/lib.rs +1 -0
  42. data/rust-vendor/syn/.cargo-checksum.json +1 -1
  43. data/rust-vendor/syn/.cargo_vcs_info.json +1 -1
  44. data/rust-vendor/syn/Cargo.lock +40 -41
  45. data/rust-vendor/syn/Cargo.toml +1 -1
  46. data/rust-vendor/syn/Cargo.toml.orig +1 -1
  47. data/rust-vendor/syn/src/item.rs +61 -40
  48. data/rust-vendor/syn/src/lib.rs +2 -1
  49. data/rust-vendor/syn/tests/test_item.rs +54 -0
  50. data/rust-vendor/unicode-ident/.cargo-checksum.json +1 -1
  51. data/rust-vendor/unicode-ident/.cargo_vcs_info.json +1 -1
  52. data/rust-vendor/unicode-ident/Cargo.lock +21 -21
  53. data/rust-vendor/unicode-ident/Cargo.toml +1 -1
  54. data/rust-vendor/unicode-ident/Cargo.toml.orig +1 -1
  55. data/rust-vendor/unicode-ident/src/lib.rs +1 -1
  56. data/rust-vendor/unicode-ident/src/tables.rs +87 -97
  57. data/rust-vendor/unicode-ident/tests/static_size.rs +1 -1
  58. metadata +7 -177
  59. data/rust-vendor/markup5ever_rcdom/.cargo-checksum.json +0 -1
  60. data/rust-vendor/markup5ever_rcdom/.cargo_vcs_info.json +0 -7
  61. data/rust-vendor/markup5ever_rcdom/Cargo.lock +0 -658
  62. data/rust-vendor/markup5ever_rcdom/Cargo.toml +0 -109
  63. data/rust-vendor/markup5ever_rcdom/Cargo.toml.orig +0 -42
  64. data/rust-vendor/markup5ever_rcdom/LICENSE-APACHE +0 -201
  65. data/rust-vendor/markup5ever_rcdom/LICENSE-MIT +0 -25
  66. data/rust-vendor/markup5ever_rcdom/README.md +0 -7
  67. data/rust-vendor/markup5ever_rcdom/custom-html5lib-tokenizer-tests/regression.test +0 -69
  68. data/rust-vendor/markup5ever_rcdom/data/test/ignore +0 -1
  69. data/rust-vendor/markup5ever_rcdom/examples/hello_xml.rs +0 -39
  70. data/rust-vendor/markup5ever_rcdom/examples/html2html.rs +0 -51
  71. data/rust-vendor/markup5ever_rcdom/examples/print-rcdom.rs +0 -78
  72. data/rust-vendor/markup5ever_rcdom/examples/xml_tree_printer.rs +0 -67
  73. data/rust-vendor/markup5ever_rcdom/html5lib-tests/.gitattributes +0 -2
  74. data/rust-vendor/markup5ever_rcdom/html5lib-tests/.github/workflows/downstream.yml +0 -76
  75. data/rust-vendor/markup5ever_rcdom/html5lib-tests/.github/workflows/lint.yml +0 -25
  76. data/rust-vendor/markup5ever_rcdom/html5lib-tests/.gitignore +0 -79
  77. data/rust-vendor/markup5ever_rcdom/html5lib-tests/AUTHORS.rst +0 -34
  78. data/rust-vendor/markup5ever_rcdom/html5lib-tests/LICENSE +0 -21
  79. data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/chardet/test_big5.txt +0 -51
  80. data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/scripted/tests1.dat +0 -5
  81. data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/test-yahoo-jp.dat +0 -10
  82. data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/tests1.dat +0 -388
  83. data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/tests2.dat +0 -115
  84. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint +0 -6
  85. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/__init__.py +0 -0
  86. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/__init__.py +0 -0
  87. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/LICENSE +0 -18
  88. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/__init__.py +0 -0
  89. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/lexer.py +0 -211
  90. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/lexer.pyi +0 -34
  91. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/parser.py +0 -872
  92. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/parser.pyi +0 -83
  93. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/py.typed +0 -0
  94. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/util.py +0 -72
  95. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/util.pyi +0 -7
  96. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/vendor.txt +0 -1
  97. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor-patches/funcparserlib.patch +0 -24
  98. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/lint.py +0 -280
  99. data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/parser.py +0 -177
  100. data/rust-vendor/markup5ever_rcdom/html5lib-tests/pyproject.toml +0 -7
  101. data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/core.test +0 -125
  102. data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/injectmeta.test +0 -66
  103. data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/optionaltags.test +0 -965
  104. data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/options.test +0 -60
  105. data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/whitespace.test +0 -51
  106. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/README.md +0 -107
  107. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/contentModelFlags.test +0 -93
  108. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/domjs.test +0 -335
  109. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/entities.test +0 -542
  110. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/escapeFlag.test +0 -36
  111. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/namedEntities.test +0 -42422
  112. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/numericEntities.test +0 -1677
  113. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/pendingSpecChanges.test +0 -9
  114. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test1.test +0 -353
  115. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test2.test +0 -275
  116. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test3.test +0 -11233
  117. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test4.test +0 -532
  118. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/unicodeChars.test +0 -1577
  119. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/unicodeCharsProblematic.test +0 -41
  120. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/xmlViolation.test +0 -20
  121. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/README.md +0 -108
  122. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/adoption01.dat +0 -354
  123. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/adoption02.dat +0 -39
  124. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/blocks.dat +0 -695
  125. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/comments01.dat +0 -217
  126. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/doctype01.dat +0 -474
  127. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/domjs-unsafe.dat +0 -0
  128. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/entities01.dat +0 -943
  129. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/entities02.dat +0 -309
  130. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/foreign-fragment.dat +0 -645
  131. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/html5test-com.dat +0 -301
  132. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/inbody01.dat +0 -54
  133. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/isindex.dat +0 -49
  134. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/main-element.dat +0 -46
  135. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/math.dat +0 -104
  136. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/menuitem-element.dat +0 -240
  137. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/namespace-sensitivity.dat +0 -22
  138. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/noscript01.dat +0 -237
  139. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/pending-spec-changes-plain-text-unsafe.dat +0 -0
  140. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/pending-spec-changes.dat +0 -46
  141. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/plain-text-unsafe.dat +0 -0
  142. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/quirks01.dat +0 -53
  143. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/ruby.dat +0 -302
  144. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scriptdata01.dat +0 -372
  145. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scripted/adoption01.dat +0 -16
  146. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scripted/ark.dat +0 -27
  147. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scripted/webkit01.dat +0 -30
  148. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/search-element.dat +0 -46
  149. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/svg.dat +0 -104
  150. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tables01.dat +0 -322
  151. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/template.dat +0 -1673
  152. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests1.dat +0 -1956
  153. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests10.dat +0 -849
  154. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests11.dat +0 -523
  155. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests12.dat +0 -62
  156. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests14.dat +0 -75
  157. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests15.dat +0 -216
  158. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests16.dat +0 -2602
  159. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests17.dat +0 -179
  160. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests18.dat +0 -558
  161. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests19.dat +0 -1398
  162. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests2.dat +0 -831
  163. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests20.dat +0 -842
  164. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests21.dat +0 -306
  165. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests22.dat +0 -190
  166. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests23.dat +0 -168
  167. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests24.dat +0 -79
  168. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests25.dat +0 -288
  169. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests26.dat +0 -453
  170. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests3.dat +0 -305
  171. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests4.dat +0 -74
  172. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests5.dat +0 -210
  173. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests6.dat +0 -663
  174. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests7.dat +0 -453
  175. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests8.dat +0 -165
  176. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests9.dat +0 -472
  177. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests_innerHTML_1.dat +0 -843
  178. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tricky01.dat +0 -336
  179. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/webkit01.dat +0 -785
  180. data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/webkit02.dat +0 -554
  181. data/rust-vendor/markup5ever_rcdom/tests/foreach_html5lib_test/mod.rs +0 -41
  182. data/rust-vendor/markup5ever_rcdom/tests/html-driver.rs +0 -29
  183. data/rust-vendor/markup5ever_rcdom/tests/html-serializer.rs +0 -265
  184. data/rust-vendor/markup5ever_rcdom/tests/html-tokenizer.rs +0 -487
  185. data/rust-vendor/markup5ever_rcdom/tests/html-tree-builder.rs +0 -298
  186. data/rust-vendor/markup5ever_rcdom/tests/html-tree-sink.rs +0 -141
  187. data/rust-vendor/markup5ever_rcdom/tests/util/find_tests.rs +0 -34
  188. data/rust-vendor/markup5ever_rcdom/tests/util/runner.rs +0 -48
  189. data/rust-vendor/markup5ever_rcdom/tests/xml-driver.rs +0 -101
  190. data/rust-vendor/markup5ever_rcdom/tests/xml-tokenizer.rs +0 -374
  191. data/rust-vendor/markup5ever_rcdom/tests/xml-tree-builder.rs +0 -237
  192. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/AUTHORS.rst +0 -9
  193. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/LICENSE +0 -21
  194. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/README.md +0 -92
  195. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/comments.test +0 -274
  196. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/doctype.test +0 -3232
  197. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/entities.test +0 -283
  198. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/eof.test +0 -113
  199. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/namedEntities.test +0 -42210
  200. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/numericEntities.test +0 -1349
  201. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/test1.test +0 -162
  202. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/test2.test +0 -64
  203. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/unicodeChars.test +0 -1295
  204. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tree-construction/README.md +0 -104
  205. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tree-construction/namespace.dat +0 -119
  206. data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tree-construction/test1.dat +0 -124
  207. data/rust-vendor/xml5ever/.cargo-checksum.json +0 -1
  208. data/rust-vendor/xml5ever/.cargo_vcs_info.json +0 -6
  209. data/rust-vendor/xml5ever/Cargo.lock +0 -752
  210. data/rust-vendor/xml5ever/Cargo.toml +0 -69
  211. data/rust-vendor/xml5ever/Cargo.toml.orig +0 -29
  212. data/rust-vendor/xml5ever/LICENSE-APACHE +0 -201
  213. data/rust-vendor/xml5ever/LICENSE-MIT +0 -25
  214. data/rust-vendor/xml5ever/README.md +0 -72
  215. data/rust-vendor/xml5ever/benches/xml5ever.rs +0 -77
  216. data/rust-vendor/xml5ever/data/bench/strong.xml +0 -1
  217. data/rust-vendor/xml5ever/examples/README.md +0 -223
  218. data/rust-vendor/xml5ever/examples/example.xml +0 -3
  219. data/rust-vendor/xml5ever/examples/simple_xml_tokenizer.rs +0 -81
  220. data/rust-vendor/xml5ever/examples/xml_tokenizer.rs +0 -115
  221. data/rust-vendor/xml5ever/src/driver.rs +0 -90
  222. data/rust-vendor/xml5ever/src/lib.rs +0 -47
  223. data/rust-vendor/xml5ever/src/macros.rs +0 -18
  224. data/rust-vendor/xml5ever/src/serialize/mod.rs +0 -216
  225. data/rust-vendor/xml5ever/src/tokenizer/char_ref/mod.rs +0 -456
  226. data/rust-vendor/xml5ever/src/tokenizer/interface.rs +0 -116
  227. data/rust-vendor/xml5ever/src/tokenizer/mod.rs +0 -1344
  228. data/rust-vendor/xml5ever/src/tokenizer/qname.rs +0 -84
  229. data/rust-vendor/xml5ever/src/tokenizer/states.rs +0 -167
  230. data/rust-vendor/xml5ever/src/tree_builder/mod.rs +0 -774
  231. data/rust-vendor/xml5ever/src/tree_builder/types.rs +0 -37
@@ -1,301 +0,0 @@
1
- #data
2
- <div<div>
3
- #errors
4
- (1,9): expected-doctype-but-got-start-tag
5
- (1,9): expected-closing-tag-but-got-eof
6
- #document
7
- | <html>
8
- | <head>
9
- | <body>
10
- | <div<div>
11
-
12
- #data
13
- <div foo<bar=''>
14
- #errors
15
- (1,9): invalid-character-in-attribute-name
16
- (1,16): expected-doctype-but-got-start-tag
17
- (1,16): expected-closing-tag-but-got-eof
18
- #new-errors
19
- (1:9) unexpected-character-in-attribute-name
20
- #document
21
- | <html>
22
- | <head>
23
- | <body>
24
- | <div>
25
- | foo<bar=""
26
-
27
- #data
28
- <div foo=`bar`>
29
- #errors
30
- (1,10): equals-in-unquoted-attribute-value
31
- (1,14): unexpected-character-in-unquoted-attribute-value
32
- (1,15): expected-doctype-but-got-start-tag
33
- (1,15): expected-closing-tag-but-got-eof
34
- #new-errors
35
- (1:10) unexpected-character-in-unquoted-attribute-value
36
- (1:14) unexpected-character-in-unquoted-attribute-value
37
- #document
38
- | <html>
39
- | <head>
40
- | <body>
41
- | <div>
42
- | foo="`bar`"
43
-
44
- #data
45
- <div \"foo=''>
46
- #errors
47
- (1,7): invalid-character-in-attribute-name
48
- (1,14): expected-doctype-but-got-start-tag
49
- (1,14): expected-closing-tag-but-got-eof
50
- #new-errors
51
- (1:7) unexpected-character-in-attribute-name
52
- #document
53
- | <html>
54
- | <head>
55
- | <body>
56
- | <div>
57
- | \"foo=""
58
-
59
- #data
60
- <a href='\nbar'></a>
61
- #errors
62
- (1,16): expected-doctype-but-got-start-tag
63
- #document
64
- | <html>
65
- | <head>
66
- | <body>
67
- | <a>
68
- | href="\nbar"
69
-
70
- #data
71
- <!DOCTYPE html>
72
- #errors
73
- #document
74
- | <!DOCTYPE html>
75
- | <html>
76
- | <head>
77
- | <body>
78
-
79
- #data
80
- &lang;&rang;
81
- #errors
82
- (1,6): expected-doctype-but-got-chars
83
- #document
84
- | <html>
85
- | <head>
86
- | <body>
87
- | "⟨⟩"
88
-
89
- #data
90
- &apos;
91
- #errors
92
- (1,6): expected-doctype-but-got-chars
93
- #document
94
- | <html>
95
- | <head>
96
- | <body>
97
- | "'"
98
-
99
- #data
100
- &ImaginaryI;
101
- #errors
102
- (1,12): expected-doctype-but-got-chars
103
- #document
104
- | <html>
105
- | <head>
106
- | <body>
107
- | "ⅈ"
108
-
109
- #data
110
- &Kopf;
111
- #errors
112
- (1,6): expected-doctype-but-got-chars
113
- #document
114
- | <html>
115
- | <head>
116
- | <body>
117
- | "𝕂"
118
-
119
- #data
120
- &notinva;
121
- #errors
122
- (1,9): expected-doctype-but-got-chars
123
- #document
124
- | <html>
125
- | <head>
126
- | <body>
127
- | "∉"
128
-
129
- #data
130
- <?import namespace="foo" implementation="#bar">
131
- #errors
132
- (1,1): expected-tag-name-but-got-question-mark
133
- (1,47): expected-doctype-but-got-eof
134
- #new-errors
135
- (1:2) unexpected-question-mark-instead-of-tag-name
136
- #document
137
- | <!-- ?import namespace="foo" implementation="#bar" -->
138
- | <html>
139
- | <head>
140
- | <body>
141
-
142
- #data
143
- <!--foo--bar-->
144
- #errors
145
- (1,15): expected-doctype-but-got-eof
146
- #document
147
- | <!-- foo--bar -->
148
- | <html>
149
- | <head>
150
- | <body>
151
-
152
- #data
153
- <![CDATA[x]]>
154
- #errors
155
- (1,2): expected-dashes-or-doctype
156
- (1,13): expected-doctype-but-got-eof
157
- #new-errors
158
- (1:9) cdata-in-html-content
159
- #document
160
- | <!-- [CDATA[x]] -->
161
- | <html>
162
- | <head>
163
- | <body>
164
-
165
- #data
166
- <textarea><!--</textarea>--></textarea>
167
- #errors
168
- (1,10): expected-doctype-but-got-start-tag
169
- (1,39): unexpected-end-tag
170
- #document
171
- | <html>
172
- | <head>
173
- | <body>
174
- | <textarea>
175
- | "<!--"
176
- | "-->"
177
-
178
- #data
179
- <textarea><!--</textarea>-->
180
- #errors
181
- (1,10): expected-doctype-but-got-start-tag
182
- #document
183
- | <html>
184
- | <head>
185
- | <body>
186
- | <textarea>
187
- | "<!--"
188
- | "-->"
189
-
190
- #data
191
- <style><!--</style>--></style>
192
- #errors
193
- (1,7): expected-doctype-but-got-start-tag
194
- (1,30): unexpected-end-tag
195
- #document
196
- | <html>
197
- | <head>
198
- | <style>
199
- | "<!--"
200
- | <body>
201
- | "-->"
202
-
203
- #data
204
- <style><!--</style>-->
205
- #errors
206
- (1,7): expected-doctype-but-got-start-tag
207
- #document
208
- | <html>
209
- | <head>
210
- | <style>
211
- | "<!--"
212
- | <body>
213
- | "-->"
214
-
215
- #data
216
- <ul><li>A </li> <li>B</li></ul>
217
- #errors
218
- (1,4): expected-doctype-but-got-start-tag
219
- #document
220
- | <html>
221
- | <head>
222
- | <body>
223
- | <ul>
224
- | <li>
225
- | "A "
226
- | " "
227
- | <li>
228
- | "B"
229
-
230
- #data
231
- <table><form><input type=hidden><input></form><div></div></table>
232
- #errors
233
- (1,7): expected-doctype-but-got-start-tag
234
- (1,13): unexpected-form-in-table
235
- (1,32): unexpected-hidden-input-in-table
236
- (1,39): unexpected-start-tag-implies-table-voodoo
237
- (1,46): unexpected-end-tag-implies-table-voodoo
238
- (1,46): unexpected-end-tag
239
- (1,51): unexpected-start-tag-implies-table-voodoo
240
- (1,57): unexpected-end-tag-implies-table-voodoo
241
- #document
242
- | <html>
243
- | <head>
244
- | <body>
245
- | <input>
246
- | <div>
247
- | <table>
248
- | <form>
249
- | <input>
250
- | type="hidden"
251
-
252
- #data
253
- <i>A<b>B<p></i>C</b>D
254
- #errors
255
- (1,3): expected-doctype-but-got-start-tag
256
- (1,15): adoption-agency-1.3
257
- (1,20): adoption-agency-1.3
258
- #document
259
- | <html>
260
- | <head>
261
- | <body>
262
- | <i>
263
- | "A"
264
- | <b>
265
- | "B"
266
- | <b>
267
- | <p>
268
- | <b>
269
- | <i>
270
- | "C"
271
- | "D"
272
-
273
- #data
274
- <div></div>
275
- #errors
276
- (1,5): expected-doctype-but-got-start-tag
277
- #document
278
- | <html>
279
- | <head>
280
- | <body>
281
- | <div>
282
-
283
- #data
284
- <svg></svg>
285
- #errors
286
- (1,5): expected-doctype-but-got-start-tag
287
- #document
288
- | <html>
289
- | <head>
290
- | <body>
291
- | <svg svg>
292
-
293
- #data
294
- <math></math>
295
- #errors
296
- (1,6): expected-doctype-but-got-start-tag
297
- #document
298
- | <html>
299
- | <head>
300
- | <body>
301
- | <math math>
@@ -1,54 +0,0 @@
1
- #data
2
- <button>1</foo>
3
- #errors
4
- (1,8): expected-doctype-but-got-start-tag
5
- (1,15): unexpected-end-tag
6
- (1,15): expected-closing-tag-but-got-eof
7
- #document
8
- | <html>
9
- | <head>
10
- | <body>
11
- | <button>
12
- | "1"
13
-
14
- #data
15
- <foo>1<p>2</foo>
16
- #errors
17
- (1,5): expected-doctype-but-got-start-tag
18
- (1,16): unexpected-end-tag
19
- (1,16): expected-closing-tag-but-got-eof
20
- #document
21
- | <html>
22
- | <head>
23
- | <body>
24
- | <foo>
25
- | "1"
26
- | <p>
27
- | "2"
28
-
29
- #data
30
- <dd>1</foo>
31
- #errors
32
- (1,4): expected-doctype-but-got-start-tag
33
- (1,11): unexpected-end-tag
34
- #document
35
- | <html>
36
- | <head>
37
- | <body>
38
- | <dd>
39
- | "1"
40
-
41
- #data
42
- <foo>1<dd>2</foo>
43
- #errors
44
- (1,5): expected-doctype-but-got-start-tag
45
- (1,17): unexpected-end-tag
46
- (1,17): expected-closing-tag-but-got-eof
47
- #document
48
- | <html>
49
- | <head>
50
- | <body>
51
- | <foo>
52
- | "1"
53
- | <dd>
54
- | "2"
@@ -1,49 +0,0 @@
1
- #data
2
- <isindex>
3
- #errors
4
- (1,9): expected-doctype-but-got-start-tag
5
- (1,9): expected-closing-tag-but-got-eof
6
- #document
7
- | <html>
8
- | <head>
9
- | <body>
10
- | <isindex>
11
-
12
- #data
13
- <isindex name="A" action="B" prompt="C" foo="D">
14
- #errors
15
- (1,48): expected-doctype-but-got-start-tag
16
- (1,48): expected-closing-tag-but-got-eof
17
- #document
18
- | <html>
19
- | <head>
20
- | <body>
21
- | <isindex>
22
- | action="B"
23
- | foo="D"
24
- | name="A"
25
- | prompt="C"
26
-
27
- #data
28
- <form><isindex>
29
- #errors
30
- (1,6): expected-doctype-but-got-start-tag
31
- (1,15): expected-closing-tag-but-got-eof
32
- #document
33
- | <html>
34
- | <head>
35
- | <body>
36
- | <form>
37
- | <isindex>
38
-
39
- #data
40
- <!doctype html><isindex>x</isindex>x
41
- #errors
42
- #document
43
- | <!DOCTYPE html>
44
- | <html>
45
- | <head>
46
- | <body>
47
- | <isindex>
48
- | "x"
49
- | "x"
@@ -1,46 +0,0 @@
1
- #data
2
- <!doctype html><p>foo<main>bar<p>baz
3
- #errors
4
- (1,36): expected-closing-tag-but-got-eof
5
- #document
6
- | <!DOCTYPE html>
7
- | <html>
8
- | <head>
9
- | <body>
10
- | <p>
11
- | "foo"
12
- | <main>
13
- | "bar"
14
- | <p>
15
- | "baz"
16
-
17
- #data
18
- <!doctype html><main><p>foo</main>bar
19
- #errors
20
- #document
21
- | <!DOCTYPE html>
22
- | <html>
23
- | <head>
24
- | <body>
25
- | <main>
26
- | <p>
27
- | "foo"
28
- | "bar"
29
-
30
- #data
31
- <!DOCTYPE html>xxx<svg><x><g><a><main><b>
32
- #errors
33
- * (1,42) unexpected HTML-like start tag token in foreign content
34
- * (1,42) unexpected end of file
35
- #document
36
- | <!DOCTYPE html>
37
- | <html>
38
- | <head>
39
- | <body>
40
- | "xxx"
41
- | <svg svg>
42
- | <svg x>
43
- | <svg g>
44
- | <svg a>
45
- | <svg main>
46
- | <b>
@@ -1,104 +0,0 @@
1
- #data
2
- <math><tr><td><mo><tr>
3
- #errors
4
- (1,22): unexpected-start-tag
5
- (1,23): expected-closing-tag-but-got-eof
6
- #document-fragment
7
- td
8
- #document
9
- | <math math>
10
- | <math tr>
11
- | <math td>
12
- | <math mo>
13
-
14
- #data
15
- <math><tr><td><mo><tr>
16
- #errors
17
- (1,6): foster-parenting-start-tag
18
- (1,22): expected-tr-in-table-scope
19
- (1,23): expected-closing-tag-but-got-eof
20
- #document-fragment
21
- tr
22
- #document
23
- | <math math>
24
- | <math tr>
25
- | <math td>
26
- | <math mo>
27
-
28
- #data
29
- <math><thead><mo><tbody>
30
- #errors
31
- (1,6): foster-parenting-start-tag
32
- (1,24): expected-table-part-in-table-scope
33
- (1,25): expected-closing-tag-but-got-eof
34
- #document-fragment
35
- thead
36
- #document
37
- | <math math>
38
- | <math thead>
39
- | <math mo>
40
-
41
- #data
42
- <math><tfoot><mo><tbody>
43
- #errors
44
- (1,6): foster-parenting-start-tag
45
- (1,24): expected-table-part-in-table-scope
46
- (1,25): expected-closing-tag-but-got-eof
47
- #document-fragment
48
- tfoot
49
- #document
50
- | <math math>
51
- | <math tfoot>
52
- | <math mo>
53
-
54
- #data
55
- <math><tbody><mo><tfoot>
56
- #errors
57
- (1,6): foster-parenting-start-tag
58
- (1,24): expected-table-part-in-table-scope
59
- (1,25): expected-closing-tag-but-got-eof
60
- #document-fragment
61
- tbody
62
- #document
63
- | <math math>
64
- | <math tbody>
65
- | <math mo>
66
-
67
- #data
68
- <math><tbody><mo></table>
69
- #errors
70
- (1,6): foster-parenting-start-tag
71
- (1,25): unexpected-end-tag-in-math
72
- (1,26): expected-closing-tag-but-got-eof
73
- #document-fragment
74
- tbody
75
- #document
76
- | <math math>
77
- | <math tbody>
78
- | <math mo>
79
-
80
- #data
81
- <math><thead><mo></table>
82
- #errors
83
- (1,6): foster-parenting-start-tag
84
- (1,25): unexpected-end-tag-in-math
85
- (1,26): expected-closing-tag-but-got-eof
86
- #document-fragment
87
- tbody
88
- #document
89
- | <math math>
90
- | <math thead>
91
- | <math mo>
92
-
93
- #data
94
- <math><tfoot><mo></table>
95
- #errors
96
- (1,6): foster-parenting-start-tag
97
- (1,25): unexpected-end-tag-in-math
98
- (1,26): expected-closing-tag-but-got-eof
99
- #document-fragment
100
- tbody
101
- #document
102
- | <math math>
103
- | <math tfoot>
104
- | <math mo>