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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.3
    • Fix Version/s: None
    • Component/s: Accessibility, Resource
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      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/

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              david.horat David Horat
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: