Defect #39883
Updated by Mischa The Evil 11 months ago
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":https://www.example.org ("txt":https://www.example.net)) ** <pre>txt1 (txt "txt":https://www.example.org ("txt":https://www.example.net))</pre> # txt2 (txt "txt":https://www.example.org ("txt":https://www.example.net) ) ** <pre>txt2 (txt "txt":https://www.example.org ("txt":https://www.example.net) )</pre> # txt3 (txt "txt":https://www.example.org ["txt":https://www.example.net]) ** <pre>txt3 (txt "txt":https://www.example.org ["txt":https://www.example.net])</pre> # txt4 (txt "txt":https://www.example.org ["txt":https://www.example.net] ) ** <pre>txt4 (txt "txt":https://www.example.org ["txt":https://www.example.net] )</pre> # txt5 (txt "txt":https://www.example.org ["txt":https://www.example.net]). ** <pre>txt5 (txt "txt":https://www.example.org ["txt":https://www.example.net]).</pre> # txt6 (txt "txt":https://www.example.org ["txt":https://www.example.net]); ** <pre>txt6 (txt "txt":https://www.example.org ["txt":https://www.example.net]);</pre> # txt7 (txt "txt":https://www.example.org ["txt":https://www.example.net]...) ** <pre>txt7 (txt "txt":https://www.example.org ["txt":https://www.example.net]...)</pre> # txt8 (txt "txt":https://www.example.org ["txt":https://www.example.net]... ). ** <pre>txt8 (txt "txt":https://www.example.org ["txt":https://www.example.net]... ).</pre> # txt9 (txt "txt":https://www.example.org ["txt":https://www.example.net] ); ** <pre>txt9 (txt "txt":https://www.example.org ["txt":https://www.example.net] );</pre> 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. priority