Project

General

Profile

Actions

Defect #31838

open

Improper parsing of wiki links

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

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.

Actions #1

Updated by Go MAEDA over 4 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF