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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dsnopek’s picture

Status: Active » Needs review
FileSize
562 bytes

Attached is a patch that fixes this! I'm going to commit soon.

dsnopek’s picture

Status: Needs review » Fixed

Committed!

  • dsnopek committed ea6143a on 7.x-1.x
    Update Panopoly WYSIWYG for Issue #2476543 by dsnopek: <meta> tag...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.