How can I 'fix' this so the safe html transform returns a iframe element which is not self closing? I am using Plone 5.1. In this case I'm importing content from another site and recreating the items. The same output is shown when rendering the field (using structure teaser/text/output) in a template. When manually adding a document with the same iframe thru-the-web, the iframe element is valid (not self closing).
I think the whole approach is very weird. IFRAME is not usually sage html. I måde an and on for this ise case medialog.lxml but it was never used in produksjon. Anyway it can make New fontener from an url
EDIT: My phone autocorrected, it should be 'New content from an URL' (and sage should be safe)
If that can be reproduced by others, they fix it and release a new version of Products.PortalTransforms package. Then you should define the new version in your buildout, run buildout and restart site to get the fixed version running.
safe/html is implemented to produce xhtml, but later Diazo should enforce all output to HTML (unless theme declares xhtml)
Indeed, this seems to be expected behavior. In the diazo theme the expected correct tag is returned and when debugging/viewing 127.0.0.1 the xhtml is shown. I wasn't aware of this, so this was a user error. Thanks for the explanation!