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

Ensure that the nwiki parsers transforms [![whatever]] to [[whatever]] for further processing by filters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.10
    • Component/s: Wiki (2.x)
    • Labels:
      None
    • Environment:
      Moodle 2.0, any.

      Description

      http://moodle.org/mod/forum/discuss.php?d=103370

      It seems that people is using the [![whatever]] trick in Wiki 1.x pages to allow some filters using wiki-like syntax to work. Parser in 1.x transforms those double square brackets with exclamation marks into normal double square brackets so, later, filters are able to catch and process them.

      To maintain BC, it's expected that all Wiki 2.x (nwiki) parsers respect this behaviour, so anything like:

      [![whatever]]

      will be converted to

      [[whatever]]

      Ciao

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/12