There are two things. First TinyMCe might do that if enabeld and also ZP clears everything that is not in the allowed tags list.
But anyway, we have the content macro for that purpose because it is of course simpler and will get automatic updates if things change (which they did a few months ago from the Matomo side)