FreshRSS/FreshRSS

Take advantage of PHP 8.4+ native HTML5 support

Open

#6.831 aberto em 24 de set. de 2024

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)PHP (1.171 forks)batch import
Security :shield:SimplePie :cake:help wantedphp

Métricas do repositório

Stars
 (15.022 stars)
Métricas de merge de PR
 (Mesclagem média 11d 12h) (36 fundiu PRs em 30d)

Description

https://wiki.php.net/rfc/domdocument_html5_parser https://wiki.php.net/rfc/opt_in_dom_spec_compliance

Test for availability of the new HTML functions such as \Dom\HTMLDocument::createFromString() and use them if possible, keeping the old code while we still support PHP 8.3-

Needed for fixing issues such as https://github.com/FreshRSS/FreshRSS/issues/5201

Guia do colaborador