MyBB Community Forums

Full Version: [F] XHTML Errors in templates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well unfortunately there are some more errors in the default templates:
First of all any template that includes JavaScript is missing the mandatory CDATA container (See W3C RFC and JavaScript and XHTML).

Examples of such templates are "postbit_quickdelete", "report_thanks" etc.

Some more errors:

Template "showthread_multipage":
  • fixes "element div not allowed here"
  • there is a <span class="smalltext"> in the multipage template already

Replace
<tr>
  <td class="tcat" colspan="2"><span class="smalltext"> {$multipage}</span></td>
</tr>
with
<tr>
  <td class="tcat" colspan="2">{$multipage}</td>
</tr>
The CDATA has already been reported and fixed for MyBB 1.4.
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.