When you type in I'm super cala fragilistic expialidocious the resulting caption is just I, however if you typed You sure are "super cala fragilistic expialidocious" it will display fine.

Probably just need to switch HTML entity vs stripping it out?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mcrittenden’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
703 bytes

I'm not really sure what was going on with the regex for escaping single quotes, but it seemed to be missing it because of a couple extra back slashes.

Attached patch resolves that, but I'm not certain that it's the correct fix, because I don't know why those back slashes were there in the first place.

mglaman’s picture

Status: Needs review » Reviewed & tested by the community

Been using patch successfully for quite a white now.

kmonty’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

This issue was just fixed on #2455253: Caption Filter not converting single quotes to entities. New release coming soon!