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 is a follow-up to #2287805: Caption filter does not work with Quarter Size image format - or with floated captions.
I didn't notice this in my original review, but the 'panopoly_images_fix_captions' filter is adding the following to the top of any field using WYSIWYG:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
This is added to the document before passing to DOMDocument
to ensure UTF-8, but we need to make sure it's not included when serializing the document to HTML.
Comment | File | Size | Author |
---|---|---|---|
#1 | panopoly_wysiwyg-img-caption-meta-2476543-1.patch | 562 bytes | dsnopek |
Comments
Comment #1
dsnopekAttached is a patch that fixes this! I'm going to commit soon.
Comment #2
dsnopekCommitted!