Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21196

yui_combo.php css loader breaks XHML strict

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: JavaScript, Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Latest changes in css/yui/themes introduce this html:

      <link rel="stylesheet" type="text/css" href="http://127.0.0.1/~stronk7/moodle_head/theme/yui_combo.php?3.0.0/build/cssreset/reset-min.css&3.0.0/build/cssfonts/fonts-min.css&3.0.0/build/cssgrids/grids-min.css&3.0.0/build/cssbase/base-min.css" /><script type="text/javascript" src="http://127.0.0.1/~stronk7/moodle_head/theme/yui_combo.php?3.0.0/build/yui/yui-debug.js"></script><script type="text/javascript" src="http://127.0.0.1/~stronk7/moodle_head/theme/yui_combo.php?2.8.0r4/build/yahoo-dom-event/yahoo-dom-event.js&2.8.0r4/build/logger/logger-debug.js&2.8.0r4/build/container/container-debug.js&2.8.0r4/build/connection/connection-debug.js"></script><script type="text/javascript" src="http://127.0.0.1/~stronk7/moodle_head/lib/javascript-static.js"></script>

      It breaks badly with XHTML strict headers enabled. I guess those '&' should be '&' or another xhtml safe separator (harcoded in yui_combo.php).

      Ciao

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10