In https://github.com/plone/plone.protect/blob/master/plone/protect/auto.py#L345 there must be at least one body tag in the HTML. So we have disabled diazo by using a theme.html reduced to just <html></html> and a rules.xml which copy htmls attributes and children over. This makes sense together with site-layouts.
In https://github.com/plone/plone.protect/blob/master/plone/protect/auto.py#L345 there must be at least one
body
tag in the HTML. So we have disabled diazo by using atheme.html
reduced to just<html></html>
and arules.xml
which copy htmls attributes and children over. This makes sense together with site-layouts.Since the code expects ``a body this breaks.