FreshRSS/FreshRSS

Take advantage of PHP 8.4+ native HTML5 support

Open

#6,831 创建于 2024年9月24日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)PHP (1,171 fork)batch import
Security :shield:SimplePie :cake:help wantedphp

仓库指标

Star
 (15,022 star)
PR 合并指标
 (平均合并 11天 12小时) (30 天内合并 36 个 PR)

描述

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

贡献者指南