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

Nwiki headers without a empty line before them break edit link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.3, 2.8.1, 2.9, 3.0.3, 3.1
    • Fix Version/s: 2.9.6, 3.0.4
    • Component/s: Wiki (2.x)
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a wiki
      2. Create the first page as Nwiki
      3. In your text editor, insert the following:

        = A heading that works =
        A paragraph
        = A heading that will break =
        Another paragraph
        

      4. make sure all four "edit" links work (two in TOC and two in the text)
      5. create similar page in creole and html formats and also make sure all "edit" links work
      Show
      Create a wiki Create the first page as Nwiki In your text editor, insert the following: = A heading that works = A paragraph = A heading that will break = Another paragraph make sure all four "edit" links work (two in TOC and two in the text) create similar page in creole and html formats and also make sure all "edit" links work
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-48307-master

      Description

      In an Nwiki page, if you have a paragraph directly before a header, the edit link will be directly at the end of the header, instead of being aligned to the right

      Reproduction steps

      1. Create a wiki
      2. Create the first page as Nwiki
      3. In your text editor, insert the following:

        = A heading that works =
        A paragraph
        = A heading that will break =
        Another paragraph
        

        The second header's edit button will appear right next to it instead of on the right. Clicking on it will give the following error:

        The requested URL /integration_master/mod/wiki/edit was not found on this server
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              johno John Okely
              Peer reviewer:
              John Okely John Okely
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Jun Pataleta Jun Pataleta
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/May/16