If we link to ```meson [[#function]]('posarg') ``` then the ideal linkification would operate on "function" in the formatted text: ``` function('posarg') ``` Instead, it operated on "function()" in the formatted text: ``` function()('posarg') ``` Fix this by detecting the next character after the reference, and skipping the usual "automatically append the () for you" stage if it already has that opening parenthesis.pull/10535/head
parent
c2c9359d46
commit
ad0c70bac1
1 changed files with 6 additions and 3 deletions
Loading…
Reference in new issue