html5-php icon indicating copy to clipboard operation
html5-php copied to clipboard

An HTML5 parser and serializer for PHP.

Results 54 html5-php issues
Sort by recently updated
recently updated
newest added

The following code: ```php

help-wanted

Up to version 2.2.0, the following HTML code will be fully parsed ``` Heading 1 Paragraph Second line. List item 1List item 2List item 2.1List item 2.2List item 3 Paragraph...

Before this change, e.g. `` has been incorrectly serialized as ``. This change ensures, that the result is a proper (self-closing) void tag ``.

This is a simple fix for rendering PHP 8.4 HTMLDocument, this PR dosen't support the parsing of new DOM. ```php $doc = \Dom\HTMLElement::createFromString($html); $string = new HTML5()->saveHTML($doc); ``` ## Why...