Moodle

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

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • 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

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

(fixing links to original discussion)

Show
Eloy Lafuente (stronk7) added a comment - (fixing links to original discussion)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: