khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

reST parser includes trailing semis and parens in bare URLs #291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
reST parser includes trailing semis and parens in bare URLs:

    - http://example.net/; and
    - example (http://example.net).

...will link to "...;" and "...)".  The docutils parser doesn't do
that; it excludes them from the bare URL.

Original issue reported on code.google.com by mike.fab...@gmail.com on 17 Mar 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Fixed in 6beba76f61faa41c4351fa4eb54161c060315a23

Pandoc still diverges from docutils, but in a good way.  It recognizes balanced 
parentheses
in a URL, and so correctly parses wikipedia links like 
http://en.wikipedia.org/wiki/Structures_(Boulez), where
docutils' rst2html leaves off the trailing parenthesis.

Original comment by fiddloso...@gmail.com on 18 Mar 2011 at 6:34