Commit 3c0410b
committed
[Tests] Adapt testAddHtmlContentWithErrors to be HTML5 compliant
The new libxml2 uses HTML5 by default, and the current snippet used to test
invalid HTML is HTML5-valid. This commit changes the snippet to be invalid both
for HTML4 and HTML5, so the test passes.1 parent 9aa072c commit 3c0410b
File tree
1 file changed
+3
-2
lines changed- src/Symfony/Component/DomCrawler/Tests
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments