Skip to content

Commit f0b928f

Browse files
committed
update php parser3
1 parent 0b3d129 commit f0b928f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_posts/PHP HTML parser differential due to libxml2 lack of HTML5 support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Parsing the following string will render an xss tag in the browser but not in PH
6161
* `<!DOCTYPE HTML PUBLIC "-//W3C//DTDHTML4.01//EN" "><xss>">`
6262
* `<!DOCTYPE HTML SYSTEM "><xss>">`
6363

64-
#### 5. element name starting with underscrool
64+
#### 5. Element name starting with underscrool
6565
According to the [XML specification](https://www.w3schools.com/xml/xml_elements.asp#:~:text=can%20have%20attributes.-,XML%20Naming%20Rules,-XML%20elements%20must) `Element names must start with a letter or underscore`, unlike [HTML](https://html.spec.whatwg.org/#syntax-tag-name) where tags must start with ASCII alphanumerics.
6666
```
6767
Input: <p><_test>/<p>

0 commit comments

Comments
 (0)