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

The wiki does not link the subpages correctly, if there is a newline character in the title

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 3.3
    • Wiki (2.x)
    • None
    • MOODLE_33_STABLE

      If the user enters a newline character in a title of a subpage, then the page would not be linked correctly to the mainpage.

      Example:

      [[ Hello my nice
      World]]

      This would create a wiki_pages entry with the title "Hello my niceWorld" with the result, that the entry in wiki_links would not be updated to be linked to the correct page.

      Probably one solution could be to replace the newline character with a space in the mainpage and the subpage title.

      Or another approach is, to remove these newline characters from the mainpage, if the are in a subpage link.

       

       

            Unassigned Unassigned
            rmootracker Roger Barras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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