plone / plone.outputfilters

Provides a framework for registering filters that get applied to text as it is rendered.
6 stars 15 forks source link

html_quote issue #46

Open marclava opened 3 years ago

marclava commented 3 years ago

In ResolveUIDAndCaptionFilter.handle_captioned_image, the option: 'caption': newline_to_br(html_quote(caption)) Should be: 'caption': newline_to_br(caption) Or else apostrophes (and probably other characters transformed by html_quote) are showed as html entities in the captions...

I fixed the issue by monkey-patching handle_captioned_image in my profile package, but that's sub-optimal... (I won't fork the repo only to submit such a trivial fix)

Thanks for your attention.

MrTango commented 2 years ago

thx, PR is always welcome ;) Only requirement is first once to sign the Plone contributor https://docs.plone.org/develop/coredev/docs/agreement.html