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

When writing a web address in plain text, it will translate it to a <a> element with the parameter "target" which is not allowed in XHTML 1.0 Strict

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.9.3
    • Accessibility, Resource
    • None
    • MOODLE_19_STABLE

      If I write for example:

      "Lets go to Moodle (http://moodle.org)."

      and use the format option "Moodle auto-format", then the web address will be translated to:

      <a href="http://moodle.org" target="_blank">http://moodle.org</a>

      Notice the "target" parameter which is not allowed by XHTML 1.0 Strict.

      I think the default behavior should be to strip the target parameter and to just let it open in the same window.

      This issue has also been tested in the current http://demo.moodle.org/

            moodle.com Moodle HQ
            david.horat David Horat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.