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

Wiki in HTML-Mode breaks links

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1, 2.8.1, 2.9.5, 3.4, 3.5.4, 3.6
    • Fix Version/s: None
    • Component/s: Wiki (2.x)
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      When saving text in a html-wiki, two errors occur with the following example:

      <p>some text <a href="http://some.url/deeplink">http://some.url</a><br />new line more text</p>

      1. the deeplink is exchanged against the url that is in the link text
      2. the closing /> brom the <br /> is rendered as text

      Result:
      <p id="yui_3_15_0_3_1407851538928_271">some text <a href="http://some.url/deeplink"></a><a href="http://some.url">http://some.url</a><br> />new line more text</p>

      Tested just now on a local 2.6 and the actual sandbox demo.

        Attachments

        1. capEdit.png
          capEdit.png
          66 kB
        2. capView.png
          capView.png
          72 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kunoFM Kuno Flöz-Mausegatt
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: