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,302 +0,0 @@
1
- #data
2
- <html><ruby>a<rb>b<rb></ruby></html>
3
- #errors
4
- (1,6): expected-doctype-but-got-start-tag
5
- #document
6
- | <html>
7
- | <head>
8
- | <body>
9
- | <ruby>
10
- | "a"
11
- | <rb>
12
- | "b"
13
- | <rb>
14
-
15
- #data
16
- <html><ruby>a<rb>b<rt></ruby></html>
17
- #errors
18
- (1,6): expected-doctype-but-got-start-tag
19
- #document
20
- | <html>
21
- | <head>
22
- | <body>
23
- | <ruby>
24
- | "a"
25
- | <rb>
26
- | "b"
27
- | <rt>
28
-
29
- #data
30
- <html><ruby>a<rb>b<rtc></ruby></html>
31
- #errors
32
- (1,6): expected-doctype-but-got-start-tag
33
- #document
34
- | <html>
35
- | <head>
36
- | <body>
37
- | <ruby>
38
- | "a"
39
- | <rb>
40
- | "b"
41
- | <rtc>
42
-
43
- #data
44
- <html><ruby>a<rb>b<rp></ruby></html>
45
- #errors
46
- (1,6): expected-doctype-but-got-start-tag
47
- #document
48
- | <html>
49
- | <head>
50
- | <body>
51
- | <ruby>
52
- | "a"
53
- | <rb>
54
- | "b"
55
- | <rp>
56
-
57
- #data
58
- <html><ruby>a<rb>b<span></ruby></html>
59
- #errors
60
- (1,6): expected-doctype-but-got-start-tag
61
- (1,31): unexpected-end-tag
62
- #document
63
- | <html>
64
- | <head>
65
- | <body>
66
- | <ruby>
67
- | "a"
68
- | <rb>
69
- | "b"
70
- | <span>
71
-
72
- #data
73
- <html><ruby>a<rt>b<rb></ruby></html>
74
- #errors
75
- (1,6): expected-doctype-but-got-start-tag
76
- #document
77
- | <html>
78
- | <head>
79
- | <body>
80
- | <ruby>
81
- | "a"
82
- | <rt>
83
- | "b"
84
- | <rb>
85
-
86
- #data
87
- <html><ruby>a<rt>b<rt></ruby></html>
88
- #errors
89
- (1,6): expected-doctype-but-got-start-tag
90
- #document
91
- | <html>
92
- | <head>
93
- | <body>
94
- | <ruby>
95
- | "a"
96
- | <rt>
97
- | "b"
98
- | <rt>
99
-
100
- #data
101
- <html><ruby>a<rt>b<rtc></ruby></html>
102
- #errors
103
- (1,6): expected-doctype-but-got-start-tag
104
- #document
105
- | <html>
106
- | <head>
107
- | <body>
108
- | <ruby>
109
- | "a"
110
- | <rt>
111
- | "b"
112
- | <rtc>
113
-
114
- #data
115
- <html><ruby>a<rt>b<rp></ruby></html>
116
- #errors
117
- (1,6): expected-doctype-but-got-start-tag
118
- #document
119
- | <html>
120
- | <head>
121
- | <body>
122
- | <ruby>
123
- | "a"
124
- | <rt>
125
- | "b"
126
- | <rp>
127
-
128
- #data
129
- <html><ruby>a<rt>b<span></ruby></html>
130
- #errors
131
- (1,6): expected-doctype-but-got-start-tag
132
- (1,31): unexpected-end-tag
133
- #document
134
- | <html>
135
- | <head>
136
- | <body>
137
- | <ruby>
138
- | "a"
139
- | <rt>
140
- | "b"
141
- | <span>
142
-
143
- #data
144
- <html><ruby>a<rtc>b<rb></ruby></html>
145
- #errors
146
- (1,6): expected-doctype-but-got-start-tag
147
- #document
148
- | <html>
149
- | <head>
150
- | <body>
151
- | <ruby>
152
- | "a"
153
- | <rtc>
154
- | "b"
155
- | <rb>
156
-
157
- #data
158
- <html><ruby>a<rtc>b<rt>c<rt>d</ruby></html>
159
- #errors
160
- (1,6): expected-doctype-but-got-start-tag
161
- #document
162
- | <html>
163
- | <head>
164
- | <body>
165
- | <ruby>
166
- | "a"
167
- | <rtc>
168
- | "b"
169
- | <rt>
170
- | "c"
171
- | <rt>
172
- | "d"
173
-
174
- #data
175
- <html><ruby>a<rtc>b<rtc></ruby></html>
176
- #errors
177
- (1,6): expected-doctype-but-got-start-tag
178
- #document
179
- | <html>
180
- | <head>
181
- | <body>
182
- | <ruby>
183
- | "a"
184
- | <rtc>
185
- | "b"
186
- | <rtc>
187
-
188
- #data
189
- <html><ruby>a<rtc>b<rp></ruby></html>
190
- #errors
191
- (1,6): expected-doctype-but-got-start-tag
192
- #document
193
- | <html>
194
- | <head>
195
- | <body>
196
- | <ruby>
197
- | "a"
198
- | <rtc>
199
- | "b"
200
- | <rp>
201
-
202
- #data
203
- <html><ruby>a<rtc>b<span></ruby></html>
204
- #errors
205
- (1,6): expected-doctype-but-got-start-tag
206
- (1,32): unexpected-end-tag
207
- #document
208
- | <html>
209
- | <head>
210
- | <body>
211
- | <ruby>
212
- | "a"
213
- | <rtc>
214
- | "b"
215
- | <span>
216
-
217
- #data
218
- <html><ruby>a<rp>b<rb></ruby></html>
219
- #errors
220
- (1,6): expected-doctype-but-got-start-tag
221
- #document
222
- | <html>
223
- | <head>
224
- | <body>
225
- | <ruby>
226
- | "a"
227
- | <rp>
228
- | "b"
229
- | <rb>
230
-
231
- #data
232
- <html><ruby>a<rp>b<rt></ruby></html>
233
- #errors
234
- (1,6): expected-doctype-but-got-start-tag
235
- #document
236
- | <html>
237
- | <head>
238
- | <body>
239
- | <ruby>
240
- | "a"
241
- | <rp>
242
- | "b"
243
- | <rt>
244
-
245
- #data
246
- <html><ruby>a<rp>b<rtc></ruby></html>
247
- #errors
248
- (1,6): expected-doctype-but-got-start-tag
249
- #document
250
- | <html>
251
- | <head>
252
- | <body>
253
- | <ruby>
254
- | "a"
255
- | <rp>
256
- | "b"
257
- | <rtc>
258
-
259
- #data
260
- <html><ruby>a<rp>b<rp></ruby></html>
261
- #errors
262
- (1,6): expected-doctype-but-got-start-tag
263
- #document
264
- | <html>
265
- | <head>
266
- | <body>
267
- | <ruby>
268
- | "a"
269
- | <rp>
270
- | "b"
271
- | <rp>
272
-
273
- #data
274
- <html><ruby>a<rp>b<span></ruby></html>
275
- #errors
276
- (1,6): expected-doctype-but-got-start-tag
277
- (1,31): unexpected-end-tag
278
- #document
279
- | <html>
280
- | <head>
281
- | <body>
282
- | <ruby>
283
- | "a"
284
- | <rp>
285
- | "b"
286
- | <span>
287
-
288
- #data
289
- <html><ruby><rtc><ruby>a<rb>b<rt></ruby></ruby></html>
290
- #errors
291
- (1,6): expected-doctype-but-got-start-tag
292
- #document
293
- | <html>
294
- | <head>
295
- | <body>
296
- | <ruby>
297
- | <rtc>
298
- | <ruby>
299
- | "a"
300
- | <rb>
301
- | "b"
302
- | <rt>
@@ -1,372 +0,0 @@
1
- #data
2
- FOO<script>'Hello'</script>BAR
3
- #errors
4
- (1,3): expected-doctype-but-got-chars
5
- #document
6
- | <html>
7
- | <head>
8
- | <body>
9
- | "FOO"
10
- | <script>
11
- | "'Hello'"
12
- | "BAR"
13
-
14
- #data
15
- FOO<script></script>BAR
16
- #errors
17
- (1,3): expected-doctype-but-got-chars
18
- #document
19
- | <html>
20
- | <head>
21
- | <body>
22
- | "FOO"
23
- | <script>
24
- | "BAR"
25
-
26
- #data
27
- FOO<script></script >BAR
28
- #errors
29
- (1,3): expected-doctype-but-got-chars
30
- #document
31
- | <html>
32
- | <head>
33
- | <body>
34
- | "FOO"
35
- | <script>
36
- | "BAR"
37
-
38
- #data
39
- FOO<script></script/>BAR
40
- #errors
41
- (1,3): expected-doctype-but-got-chars
42
- (1,21): self-closing-flag-on-end-tag
43
- #new-errors
44
- (1:21) end-tag-with-trailing-solidus
45
- #document
46
- | <html>
47
- | <head>
48
- | <body>
49
- | "FOO"
50
- | <script>
51
- | "BAR"
52
-
53
- #data
54
- FOO<script></script/ >BAR
55
- #errors
56
- (1,3): expected-doctype-but-got-chars
57
- (1,20): unexpected-character-after-solidus-in-tag
58
- #new-errors
59
- (1:21) unexpected-solidus-in-tag
60
- #document
61
- | <html>
62
- | <head>
63
- | <body>
64
- | "FOO"
65
- | <script>
66
- | "BAR"
67
-
68
- #data
69
- FOO<script type="text/plain"></scriptx>BAR
70
- #errors
71
- (1,3): expected-doctype-but-got-chars
72
- (1,42): expected-named-closing-tag-but-got-eof
73
- #document
74
- | <html>
75
- | <head>
76
- | <body>
77
- | "FOO"
78
- | <script>
79
- | type="text/plain"
80
- | "</scriptx>BAR"
81
-
82
- #data
83
- FOO<script></script foo=">" dd>BAR
84
- #errors
85
- (1,3): expected-doctype-but-got-chars
86
- (1,31): attributes-in-end-tag
87
- #new-errors
88
- (1:31) end-tag-with-attributes
89
- #document
90
- | <html>
91
- | <head>
92
- | <body>
93
- | "FOO"
94
- | <script>
95
- | "BAR"
96
-
97
- #data
98
- FOO<script>'<'</script>BAR
99
- #errors
100
- (1,3): expected-doctype-but-got-chars
101
- #document
102
- | <html>
103
- | <head>
104
- | <body>
105
- | "FOO"
106
- | <script>
107
- | "'<'"
108
- | "BAR"
109
-
110
- #data
111
- FOO<script>'<!'</script>BAR
112
- #errors
113
- (1,3): expected-doctype-but-got-chars
114
- #document
115
- | <html>
116
- | <head>
117
- | <body>
118
- | "FOO"
119
- | <script>
120
- | "'<!'"
121
- | "BAR"
122
-
123
- #data
124
- FOO<script>'<!-'</script>BAR
125
- #errors
126
- (1,3): expected-doctype-but-got-chars
127
- #document
128
- | <html>
129
- | <head>
130
- | <body>
131
- | "FOO"
132
- | <script>
133
- | "'<!-'"
134
- | "BAR"
135
-
136
- #data
137
- FOO<script>'<!--'</script>BAR
138
- #errors
139
- (1,3): expected-doctype-but-got-chars
140
- #document
141
- | <html>
142
- | <head>
143
- | <body>
144
- | "FOO"
145
- | <script>
146
- | "'<!--'"
147
- | "BAR"
148
-
149
- #data
150
- FOO<script>'<!---'</script>BAR
151
- #errors
152
- (1,3): expected-doctype-but-got-chars
153
- #document
154
- | <html>
155
- | <head>
156
- | <body>
157
- | "FOO"
158
- | <script>
159
- | "'<!---'"
160
- | "BAR"
161
-
162
- #data
163
- FOO<script>'<!-->'</script>BAR
164
- #errors
165
- (1,3): expected-doctype-but-got-chars
166
- #document
167
- | <html>
168
- | <head>
169
- | <body>
170
- | "FOO"
171
- | <script>
172
- | "'<!-->'"
173
- | "BAR"
174
-
175
- #data
176
- FOO<script>'<!-- potato'</script>BAR
177
- #errors
178
- (1,3): expected-doctype-but-got-chars
179
- #document
180
- | <html>
181
- | <head>
182
- | <body>
183
- | "FOO"
184
- | <script>
185
- | "'<!-- potato'"
186
- | "BAR"
187
-
188
- #data
189
- FOO<script>'<!-- <sCrIpt'</script>BAR
190
- #errors
191
- (1,3): expected-doctype-but-got-chars
192
- #document
193
- | <html>
194
- | <head>
195
- | <body>
196
- | "FOO"
197
- | <script>
198
- | "'<!-- <sCrIpt'"
199
- | "BAR"
200
-
201
- #data
202
- FOO<script type="text/plain">'<!-- <sCrIpt>'</script>BAR
203
- #errors
204
- (1,3): expected-doctype-but-got-chars
205
- (1,56): expected-script-data-but-got-eof
206
- (1,56): expected-named-closing-tag-but-got-eof
207
- #new-errors
208
- (1:57) eof-in-script-html-comment-like-text
209
- #document
210
- | <html>
211
- | <head>
212
- | <body>
213
- | "FOO"
214
- | <script>
215
- | type="text/plain"
216
- | "'<!-- <sCrIpt>'</script>BAR"
217
-
218
- #data
219
- FOO<script type="text/plain">'<!-- <sCrIpt> -'</script>BAR
220
- #errors
221
- (1,3): expected-doctype-but-got-chars
222
- (1,58): expected-script-data-but-got-eof
223
- (1,58): expected-named-closing-tag-but-got-eof
224
- #new-errors
225
- (1:59) eof-in-script-html-comment-like-text
226
- #document
227
- | <html>
228
- | <head>
229
- | <body>
230
- | "FOO"
231
- | <script>
232
- | type="text/plain"
233
- | "'<!-- <sCrIpt> -'</script>BAR"
234
-
235
- #data
236
- FOO<script type="text/plain">'<!-- <sCrIpt> --'</script>BAR
237
- #errors
238
- (1,3): expected-doctype-but-got-chars
239
- (1,59): expected-script-data-but-got-eof
240
- (1,59): expected-named-closing-tag-but-got-eof
241
- #new-errors
242
- (1:60) eof-in-script-html-comment-like-text
243
- #document
244
- | <html>
245
- | <head>
246
- | <body>
247
- | "FOO"
248
- | <script>
249
- | type="text/plain"
250
- | "'<!-- <sCrIpt> --'</script>BAR"
251
-
252
- #data
253
- FOO<script>'<!-- <sCrIpt> -->'</script>BAR
254
- #errors
255
- (1,3): expected-doctype-but-got-chars
256
- #document
257
- | <html>
258
- | <head>
259
- | <body>
260
- | "FOO"
261
- | <script>
262
- | "'<!-- <sCrIpt> -->'"
263
- | "BAR"
264
-
265
- #data
266
- FOO<script type="text/plain">'<!-- <sCrIpt> --!>'</script>BAR
267
- #errors
268
- (1,3): expected-doctype-but-got-chars
269
- (1,61): expected-script-data-but-got-eof
270
- (1,61): expected-named-closing-tag-but-got-eof
271
- #new-errors
272
- (1:62) eof-in-script-html-comment-like-text
273
- #document
274
- | <html>
275
- | <head>
276
- | <body>
277
- | "FOO"
278
- | <script>
279
- | type="text/plain"
280
- | "'<!-- <sCrIpt> --!>'</script>BAR"
281
-
282
- #data
283
- FOO<script type="text/plain">'<!-- <sCrIpt> -- >'</script>BAR
284
- #errors
285
- (1,3): expected-doctype-but-got-chars
286
- (1,61): expected-script-data-but-got-eof
287
- (1,61): expected-named-closing-tag-but-got-eof
288
- #new-errors
289
- (1:62) eof-in-script-html-comment-like-text
290
- #document
291
- | <html>
292
- | <head>
293
- | <body>
294
- | "FOO"
295
- | <script>
296
- | type="text/plain"
297
- | "'<!-- <sCrIpt> -- >'</script>BAR"
298
-
299
- #data
300
- FOO<script type="text/plain">'<!-- <sCrIpt '</script>BAR
301
- #errors
302
- (1,3): expected-doctype-but-got-chars
303
- (1,56): expected-script-data-but-got-eof
304
- (1,56): expected-named-closing-tag-but-got-eof
305
- #new-errors
306
- (1:57) eof-in-script-html-comment-like-text
307
- #document
308
- | <html>
309
- | <head>
310
- | <body>
311
- | "FOO"
312
- | <script>
313
- | type="text/plain"
314
- | "'<!-- <sCrIpt '</script>BAR"
315
-
316
- #data
317
- FOO<script type="text/plain">'<!-- <sCrIpt/'</script>BAR
318
- #errors
319
- (1,3): expected-doctype-but-got-chars
320
- (1,56): expected-script-data-but-got-eof
321
- (1,56): expected-named-closing-tag-but-got-eof
322
- #new-errors
323
- (1:57) eof-in-script-html-comment-like-text
324
- #document
325
- | <html>
326
- | <head>
327
- | <body>
328
- | "FOO"
329
- | <script>
330
- | type="text/plain"
331
- | "'<!-- <sCrIpt/'</script>BAR"
332
-
333
- #data
334
- FOO<script type="text/plain">'<!-- <sCrIpt\'</script>BAR
335
- #errors
336
- (1,3): expected-doctype-but-got-chars
337
- #document
338
- | <html>
339
- | <head>
340
- | <body>
341
- | "FOO"
342
- | <script>
343
- | type="text/plain"
344
- | "'<!-- <sCrIpt\'"
345
- | "BAR"
346
-
347
- #data
348
- FOO<script type="text/plain">'<!-- <sCrIpt/'</script>BAR</script>QUX
349
- #errors
350
- (1,3): expected-doctype-but-got-chars
351
- #document
352
- | <html>
353
- | <head>
354
- | <body>
355
- | "FOO"
356
- | <script>
357
- | type="text/plain"
358
- | "'<!-- <sCrIpt/'</script>BAR"
359
- | "QUX"
360
-
361
- #data
362
- FOO<script><!--<script>-></script>--></script>QUX
363
- #errors
364
- (1,3): expected-doctype-but-got-chars
365
- #document
366
- | <html>
367
- | <head>
368
- | <body>
369
- | "FOO"
370
- | <script>
371
- | "<!--<script>-></script>-->"
372
- | "QUX"
@@ -1,16 +0,0 @@
1
- #data
2
- <p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b>
3
- #errors
4
- #script-on
5
- #document
6
- | <html>
7
- | <head>
8
- | <body>
9
- | <p>
10
- | <b>
11
- | id="B"
12
- | <script>
13
- | "document.getElementById("A").id = "B""
14
- | <b>
15
- | id="A"
16
- | "TEXT"
@@ -1,27 +0,0 @@
1
- #data
2
- <p><font size=4><font size=4><font size=4><script>document.getElementsByTagName("font")[2].setAttribute("size", "5");</script><font size=4><p>X
3
- #errors
4
- #script-on
5
- #document
6
- | <html>
7
- | <head>
8
- | <body>
9
- | <p>
10
- | <font>
11
- | size="4"
12
- | <font>
13
- | size="4"
14
- | <font>
15
- | size="5"
16
- | <script>
17
- | "document.getElementsByTagName("font")[2].setAttribute("size", "5");"
18
- | <font>
19
- | size="4"
20
- | <p>
21
- | <font>
22
- | size="4"
23
- | <font>
24
- | size="4"
25
- | <font>
26
- | size="4"
27
- | "X"