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

I don't see anything in the code that would require libxml extension. We only need DOM. Do I miss something?

# Changed log - The PHPUnit fixture `setUp` method is `protected`, not `public`. - Removing additional white spaces. - Using the `assertTrue` and `assertFalse` to assert expected value is `true`...

Hello, Sometimes i get strange error: ``` PHP Warning: DOMElement::setIdAttribute(): ID loading already defined in /home/xxx/domains/xxx/public_html/xxx/core/framework/Masterminds/HTML5/Parser/DOMTreeBuilder.php on line 392 PHP Stack trace: PHP 1. {main}() /home/xxx/domains/xxx/public_html/index.php:0 PHP 2. Core\xxx->loadPage() /home/xxx/domains/xxx/public_html/index.php:147...

Waiting feedback

In a few places there is a debug mode that prints to standard out. We can expose this in the Html5 and use the PSR logger interface (still printing to...

enhancement

When loading a XHTML document with JavaScript into html5-php I expect the `// // ``` Actual: ``` //<![CDATA[ for ( var i = 0; i < 10; i++ ) {...

feature request
help-wanted

In TEXT_RCDATA fields like `` it is not possible to use processing instructions. Could this be the sole exception for RCDATA fields or is this against the spec?

enhancement

According to the spec, li can contain any "flow content", i.e. practically anything. Why is it not categorized as a BLOCK_TAG?

https://wiki.php.net/rfc/domdocument_html5_parser Just bringing this to your attention.