Conversation
|
@wesleybl thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment: To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
|
@jenkins-plone-org please run jobs |
|
Should I create an upgrade step for this? |
|
@jenkins-plone-org please run jobs |
The HTML sanitizer allows <map> by default but strips its required child element <area>, making image maps unusable. Add <area> to the default valid_tags list so image maps work out of the box.
@wesleybl You can if you want. I would make sure that it only allows |
thet
left a comment
There was a problem hiding this comment.
Sounds good to me. I wonder if that would need an upgrade step in plone.app.upgrade, but I think that would lead to complicated upgrade logic to handle already customized valid, so imo no.
|
Okay. Let's leave it without an upgrade step, then. |
The HTML sanitizer allows
<map>by default but strips its required child element<area>, making image maps unusable. Add<area>to the defaultvalid_tagslist so image maps work out of the box.Closes plone/Products.CMFPlone#4348