Menu

#265 Links ending in parentheses truncate the close-paren: e.g. en.wikipedia.org/wiki/Sphinx_(documentation_generator)

closed-invalid
nobody
None
5
2020-03-03
2014-10-18
Wes Turner
No

Discussion

  • Wes Turner

    Wes Turner - 2014-10-18

    The solution is to wrap in explicit link markup

    `<https://en.wikipedia.org/wiki/Pattern_recognition_(psychology)#False_pattern_recognition>`__
    
     
  • Günter Milde

    Günter Milde - 2014-11-10

    This is actually a feature: the "reStructuredText Markup Specification" says:

    Punctuation at the end of a URI is not considered part of the URI, unless the URI is terminated by a closing angle bracket (“>”).

    (This also affects, e.g., URLs with trailing full stop.)

    If you want this feature changed (e.g. include closing brackets if there is an unbalanced matching opening bracket in the URL), you may file a feature request
    (no promise of a fix, as there is the abovementioned simple workaround).

     
  • Günter Milde

    Günter Milde - 2014-11-10
    • status: open --> closed-invalid
     

Log in to post a comment.