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

Space wrongly deleted if internal link followed by external link with link text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.8, 1.8.1, 1.8.2
    • 1.8
    • None
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

    Description

      I've compared the expected behaviour from looking at wikipedia's cheat sheet at: http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet and tried to create an external link with link text. This works fine, however if the external link is followed by an internal link, any space seperating this two types of link is removed by the wiki rending process. For example:

      Wiki markup:

      The quick http://brown.com red [[fox]] jumps

      Resulting HTML:
      <p> The quick<a href="http://brown.com"> red</a><a href="view.php?id=7&page=fox&gid=0&uid=0">fox</a> jumps </p>

      But this should be:
      <p> The quick<a href="http://brown.com">red</a> <a href="view.php?id=7&page=fox&gid=0&uid=0">fox</a> jumps </p>

      Attached is an image of the rendered HTML. Note the lack of a space character between the "red" and "fox" links.

      --Stuart

      Attachments

        Activity

          People

            pigui Jordi Piguillem Poch
            stuartmanderson Stuart Anderson
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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