| Post AtzH6FrVgugJhMy48W by [email protected] | |
| More posts by [email protected] | |
| Post #AtvQMCc9ei4hDMcoG8 by [email protected] | |
| 0 likes, 0 repeats | |
| Stop using preg_* on HTML and start using \Dom\HTMLDocument instead https://shk… | |
| Post #AtvQMCm53o0xi9GjjM by [email protected] | |
| 0 likes, 0 repeats | |
| @Edent `innerHTML` is implemented on the new DOM classes: https://www.php.net/m… | |
| Post #AtvQMCuaYAou8XFWzY by [email protected] | |
| 0 likes, 1 repeats | |
| @Edent And instead if creating a new Document and importing the node, you shoul… | |
| Post #AtvU0pwX9SEadVDzI8 by [email protected] | |
| 0 likes, 0 repeats | |
| @timwolla thanks! I wish this were all better documented. | |
| Post #AtvU0q2Yn33SwC2ngW by [email protected] | |
| 0 likes, 0 repeats | |
| @Edent To be fair: In this case you can just use any DOM documentation and it &… | |
| Post #AtvU0q8aQdsLEsrc4u by [email protected] | |
| 0 likes, 0 repeats | |
| @Edent But yes, the documentation for the new DOM API is incomplete. You probab… | |
| Post #AtvU0qEy2uynYfqi1Y by [email protected] | |
| 0 likes, 0 repeats | |
| @timwolla will do! | |
| Post #AtvU0qKzgVnfrMfWPw by [email protected] | |
| 0 likes, 1 repeats | |
| @Edent Great. Feel free to ping me if you've having trouble getting the doc… | |
| Post #AtzH6FccaGluxC0Avg by [email protected] | |
| 0 likes, 0 repeats | |
| @Edent yeah, unfortunately it still has its own set of bugs. The HTML parser d… | |
| Post #AtzH6FkQ7H0hLNeP5M by [email protected] | |
| 0 likes, 0 repeats | |
| @cscott @Edent The post is about `\Dom\HTMLDocument` which was added in PHP 8.4… | |
| Post #AtzH6FrVgugJhMy48W by [email protected] | |
| 0 likes, 0 repeats | |
| @timwolla @Edent yes, and I maintain a pure PHP spec-compliant parser (wikipedi… | |
| Post #AtzH6FyFHs4M2G7RdQ by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott @Edent Can you link to the issues you have filed about these spec-compl… | |
| Post #AtzKDxjzFWnNfvodoe by [email protected] | |
| 0 likes, 0 repeats | |
| @timwolla @Edent so far only patches to MediaWiki libraries working around the … | |
| Post #AtzKDxrQnqka31IaQ4 by [email protected] | |
| 0 likes, 0 repeats | |
| @timwolla @Edent see also https://phabricator.wikimedia.org/T349310#9286323But … | |
| Post #AtzKDxyWNUQCP0cFTE by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott @Edent That seems to be a bug in the implementation indeed, but I'm… | |
| Post #AtzLXhcR024TQ7GAeu by [email protected] | |
| 0 likes, 0 repeats | |
| @timwolla @Edent rather than file All The Bugs php-dev should make an effort to… | |
| Post #AtzLXhkwUOsPqVExv6 by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott @timwolla @Edent Rather than complain about spec compliance issues on s… | |
| Post #AtzNfuyrP9WX5NnK8u by [email protected] | |
| 0 likes, 0 repeats | |
| @timwolla @Edent I can look when I'm back at work tomorrow. I assumed at th… | |
| Post #AtzNfv5b06uZQGwhdo by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott @Edent Not a native speaker of English, I don’t understand the meanin… | |
| Post #AtzNwvfW6Fug8trGxk by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott @Edent The PHP project, or more specifically the DOM maintainer, which … | |
| Post #AtzOHUd7p8aCMhXrkW by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott @Edent But expecting issues to magically get fixed when not reported or… | |
| Post #AtzcqT0vDuKaqXFNMu by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott HiI'm a bit short on time now, but wanted to chime in to tell I'… | |
| Post #Au1aoNoTmFJ8XsE2ds by [email protected] | |
| 0 likes, 1 repeats | |
| @cscott I looked a bit and this seems related: https://github.com/whatwg/dom/is… |