Commit 00ba3ad
committed
bug #54513 [HtmlSanitizer] Ignore Processing Instructions (smnandre)
This PR was merged into the 6.4 branch.
Discussion
----------
[HtmlSanitizer] Ignore Processing Instructions
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #54492
| License | MIT
Ignore Processing Instructions (as comments) to avoid mixing them with standard DOM nodes (see #54492)
(targetting 6.4 as the component was released in 6.1))
Commits
-------
3582bdd [HtmlSanitizer] Ignore Processing InstructionsFile tree
2 files changed
+8
-1
lines changed- src/Symfony/Component/HtmlSanitizer
- Tests
- Visitor
2 files changed
+8
-1
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
312 | 318 | | |
313 | 319 | | |
314 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
0 commit comments