问题
My AntiSamy file does not seem to like the HTML5 <figure>
tag. Its allowing the tag itself to exist, but nothing contained inside it.
So this:
<figure> <img src="image/path"/> </figure>
Is becoming this:
<figure> </figure> <img src="image/path"/>
How can I stop the antisamy from stripping out the content of the <figure>
tag? I want it to allow the <figure>
tag and all its attributes and content.
来源:https://stackoverflow.com/questions/32427087/how-to-add-a-html5-tag-to-antisamy-policy-file