You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The html 5 picture tag uses unary source tags to define different source locations for the image using a source tag. These tags get rendered with a closing tag by diazo. W3C-Validators rank this as markup error.
Tested in Plone 5.0.5 (5015) with Barceloneta based theme and Plone 4.3.10 (4311) with special diazo theme.
Markup example:
2021 and we still have this bug 😄 ! I guess tracked it down to libxml2, one layer deeper than lxml. It seems they have to update their HTML grammar to treat source as a self closing tag.
To make it less bad, self-close the source tag in the template, i.e <source .... />. Then it will be rendered as <source ...></source>. Which is still wrong, but better.
The html 5 picture tag uses unary source tags to define different source locations for the image using a source tag. These tags get rendered with a closing tag by diazo. W3C-Validators rank this as markup error.
Tested in Plone 5.0.5 (5015) with Barceloneta based theme and Plone 4.3.10 (4311) with special diazo theme.
Markup example:
renders to:
If there is any way to avoid this using diazo rules, I'd appreciate a hint. Thanks!
The text was updated successfully, but these errors were encountered: