Invalid HTML In Com_content Override
Resolved

Summary:
The com_content override uses a <span> tag for itemprop (as did J!3.3). Because the editors insert <p> and other tags that are invalid HTML inside <span></span> some browsers fail to render content and validators output lots of errors.

The Wanderers template still uses <span></span> for itemprop tags.

Solution:
The discussion covers using <section> tags but the issue was resolved using <div> tags instead to be compatible with IE8 and other non-HTML5 browsers. I have tested this locally converting <span> to <div> on lines 196 & 198 of the file wanderers/html/com_content/article/default.php.

The related bug and issue is found here:

Bug: https://github.com/joomla/joomla-cms/pull/3511
Issue: https://issues.joomla.org/tracker/joomla-cms/3508
1 replies
Your time
Stack Ideas time
Support is
Offline
It's weekend!

It is currently a weekend from where we are at. Some answers may already be available on our documentation at http://stackideas.com/docs

Rest assured that we will get back to your posts as soon as the week starts!


Official support hour is:
Monday — Friday. 10:00 am - 7:00 pm
Our timezone:
Kuala Lumpur (GMT +8)