← Back to team overview

mahara-contributors team mailing list archive

[Bug 1052062] Re: Invalid short tag on site logo link in header

 

According to W3C

In HTML the <link> tag has no end tag.

In XHTML the <link> tag must be properly closed.

In Mahara  code, there are many places using the <link> tag with end
tag: />

Should we fix all occurences?

** Changed in: mahara
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1052062

Title:
  Invalid short tag on site logo link in header

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Mahara 1.6 generates this code out of
  `htdocs/theme/raw/templates/header/head.tpl` and/or
  `htdocs/theme/default/templates/header/head.tpl`:

      <link rel="image_src" href="{$sitelogo}" />

  Since the DOCTYPE specified HTML 4.01, this is technically invalid.
  It should either not use the short tag or (my preference) change the
  doctype to HTML5 (or do both).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1052062/+subscriptions


References