I’m trying to be able to save figure and figcaption tags in pages created in the Exhibit Builder tinyMCE fields, but those tags are stripped on save. I have added both to the allowed tags in the security settings.
HTMLPurifier, the library we use for validating HTML, really doesn’t have a conception of almost any “HTML 5” tags, including figure or figcaption. Result being: you can’t just add those to the allowed list in the security settings.
You could entirely disable the the HTML filtering and that would allow them. Whether that’s appropriate for your situation in terms of trust for the users would be the question there.