← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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).

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: bite-sized

** Description changed:

  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}" />
+     <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.
+ doctype to HTML5 (or do both).

-- 
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:
  New

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


Follow ups

References