Skip to content

Can I prevent the HTML picture element from being erased? #705

Discussion options

You must be logged in to vote

Currently Yellow doesn't support the <picture> element. The list of allowed HTML tags and attributes is maintained in the Core extension. Open the file core.php and search for the normaliseData function around line 3395. You can add missing tags to the $elementsHtml array, however this will be overwritten with the next extension update. Therefore don't hesitate to publish your modifications and conclude with a pull request.

Let us know if you need further help.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@PetersOtto
Comment options

@markseuffert
Comment options

Answer selected by PetersOtto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants