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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Wiki (2.x)
    • Labels:
      None
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      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.

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rmootracker Roger Barras
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: