Actions
Defect #31838
openImproper parsing of wiki links
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:
It actually acts, as external link, where "four" is the URL, but:One two [three|The Three] five.
- 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