From: David Goodger <goodger@us...> - 2003-12-24 15:05:21
Update of /cvsroot/docutils/docutils/spec/rst
In directory sc8-pr-cvs1:/tmp/cvs-serv17422/spec/rst
Upon reviewing RFC 2396, I see that asterisks are valid URL characters, sometimes actually used. There's a conflict with emphasis, but backslash escapes should overcome that (they didn't). This fixes a bug in the parser that escaped asterisks in URLs weren't recognized.
RCS file: /cvsroot/docutils/docutils/spec/rst/reStructuredText.txt,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- reStructuredText.txt 20 Dec 2003 18:48:23 -0000 1.49
+++ reStructuredText.txt 24 Dec 2003 15:05:17 -0000 1.50
@@ -2682,6 +2682,9 @@
Punctuation at the end of a URI is not considered part of the URI.
+Backslashes may be used in URIs to escape markup characters,
+specifically asterisks ("*") and underscores ("_") which are vaid URI
+characters (see `Escaping Mechanism`_ above).
.. [#URI] Uniform Resource Identifier. URIs are a general form of
URLs (Uniform Resource Locators). For the syntax of URIs see
Get latest updates about Open Source Projects, Conferences and News.