Defect #31838

Improper parsing of wiki links

Added by Tomisław Kityński over 3 years ago. Updated over 3 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Affected version:4.0.1


In case where wiki link is followed by opening parenthesis, it seems like parsing goes wild. For instance this sequence:

One two [[three|The Three]] (four) five.

should produce this output:

One two The Three (four) five.

but it produces this:

One two [three|The Three] five.

It actually acts, as external link, where "four" is the URL, but:
  • there is a space between last closing square bracket and opening parenthesis (I would understand this behavior when there would be no space),
  • square brackets are doubled, but external link mode took precedence over wiki link.

Currently one needs to escape opening parenthesis with backslash to force parser to see such a sequence as wiki link, not external link. IMO this looks like a glitch.


#1 Updated by Go MAEDA over 3 years ago

  • Description updated (diff)

Also available in: Atom PDF