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.
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?
Comment | File | Size | Author |
---|---|---|---|
#1 | caption-filter-2300273-1-single-quote.patch | 703 bytes | mcrittenden |
Comments
Comment #1
mcrittenden CreditAttribution: mcrittenden commentedI'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.
Comment #2
mglamanBeen using patch successfully for quite a white now.
Comment #3
kmontyThis issue was just fixed on #2455253: Caption Filter not converting single quotes to entities. New release coming soon!