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 deprecated notices were found while using the phpstan tool: all/libraries/composer/vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php 180 line Return type mixed of method Masterminds\HTML5\Parser\StringInputStream::current() is not covariant with tentative return type mixed of method...

replace some links from http:// with https:// The main goal is to have this Site working. (mixed content problems) https://masterminds.github.io/html5-php/ I am not sure how to test it correctly.

Any way to prevent the saveHTML method from wrapping the output in ? inb4 loadHTMLFragment, can't use it since it won't allow to use the getElementsByTagName method.

Drupal 9 website Drupal core 9.4.11 Web Server nginx/1.20.1. PHP Version 8.0.27 site composer.lock file references "masterminds/html5": "^2.7". The relevant modules are the feeds module and the feeds tamper module....

If the tokenizer enters 'text mode' then no other tags are parsed. I don't know the spec well enough to know whether it should or not. Example: ```html

This is an error that shows up, using Drupal. In that case, this method is called: `Html::serialize($dom);` , but $dom->nodeValue is null, and its causing the error. Propose a solution:...

Per section [8.2.4.1](https://www.w3.org/TR/2014/REC-html5-20141028/syntax.html#data-state) of spec version 20141028: > Parse error. Switch to the data state. Emit a U+003C LESS-THAN SIGN character token. Reconsume the current input character. Note: the 20141028...