Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module already calls filter_dom_serialize(filter_dom_load($text)) on the markup. We could ideally work directly with the dom rather than relying on regex for all the markup transformation.
Comments
Comment #2
mfbStarted on this in #1155774: Every image are resized but ideally all the tag processing could happen in this loop
Comment #2
mfbComment #3
mfbComment #5
mfbDebug test which passes locally
Comment #7
mfbComment #9
mfbFun, I guess there is a whitespace bug in the libxml2 version 2.9.4 used by testbot - see e.g. https://bugs.php.net/bug.php?id=78129
Should be resolved if/when testbot upgrades to current release of debian..
Comment #11
mfbAnd I uploaded wrong patch
Comment #13
mfb