TinyMCE stripping anchor tags within or around DIVs

I’m not aware of a way to configure this without a code change.

The code which is enforcing HTML4 rules appears to be here:

HTMLPurifier does not appear to support HTML5 as a DOCTYPE:
http://htmlpurifier.org/live/configdoc/plain.html#HTML.Doctype
and it doesn’t appear that the project intends to support HTML5:

Another add-in library might provide a solution:

All of the potential solutions and workarounds will require development time, however, either by the PKP team or by a community contributor.