Actions
Defect #39883
openEdge-cases in link parsing of links nested inside nested brackets
Status:
New
Priority:
Low
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
There seems to be an/some obscure, edge-case defect(s) in the link parsing of links nested inside nested brackets (both parentheses and square brackets).
Some examples:
- txt1 (txt txt (txt)
txt1 (txt "txt":https://www.example.org ("txt":https://www.example.net))
- txt2 (txt txt (txt) )
txt2 (txt "txt":https://www.example.org ("txt":https://www.example.net) )
- txt3 (txt txt [txt)
txt3 (txt "txt":https://www.example.org ["txt":https://www.example.net])
- txt4 (txt txt [txt] )
txt4 (txt "txt":https://www.example.org ["txt":https://www.example.net] )
- txt5 (txt txt [txt).
txt5 (txt "txt":https://www.example.org ["txt":https://www.example.net]).
- txt6 (txt txt [txt
txt6 (txt "txt":https://www.example.org ["txt":https://www.example.net]);
- txt7 (txt txt [txt)
txt7 (txt "txt":https://www.example.org ["txt":https://www.example.net]...)
- txt8 (txt txt [txt]... ).
txt8 (txt "txt":https://www.example.org ["txt":https://www.example.net]... ).
- txt9 (txt txt [txt] );
txt9 (txt "txt":https://www.example.org ["txt":https://www.example.net] );
From the nine examples given above, only no. 2, 4, 8 and 9 render proper, usable output. The others mangles the second link one way or another.
This was observed while writing #39881.
Given the rarity of these formattings I wonder if this deserves much attention so I'll set a low priority.
Actions