summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-02-09 22:24:50 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-02-09 22:24:50 +0000
commitf70d71916b7f15b8a0b85cdbd15fc9dc4ab3a970 (patch)
tree807b20cff3dffe938068668694939bffb3f837d8 /docs/ref
parent5b21be0677c2de90164759c75511adcbc5891cb3 (diff)
downloaddocutils-f70d71916b7f15b8a0b85cdbd15fc9dc4ab3a970.tar.gz
Reword inline markup recognition rules.
Make clear, that Unicode character categories apply to non-ASCII characters (Codepoints > 127). ASCII characters are explicitely listed in the rules. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8028 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/rst/restructuredtext.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/rst/restructuredtext.txt b/docs/ref/rst/restructuredtext.txt
index aeab7464b..e3cc0af1d 100644
--- a/docs/ref/rst/restructuredtext.txt
+++ b/docs/ref/rst/restructuredtext.txt
@@ -2443,8 +2443,8 @@ the following conditions are met:
5. If an inline markup start-string is immediately preceded by one of the
ASCII characters ``' " < ( [ {`` or a similar
- Unicode character [#openers]_, it must not be followed by the
- corresponding closing character from ``' " ) ] } >`` or a similar Unicode
+ non-ASCII character [#openers]_, it must not be followed by the
+ corresponding closing character from ``' " ) ] } >`` or a similar non-ASCII
character [#closers]_. (For quotes, matching characters can be any of
the `quotation marks in international usage`_.)
@@ -2457,14 +2457,14 @@ inline markup:
* whitespace,
* one of the ASCII characters ``- : / ' " < ( [ {``
- * or a similar Unicode punctuation character. [#pre-chars]_
+ * or a similar non-ASCII punctuation character. [#pre-chars]_
7. Inline markup end-strings must end a text block or be immediately
followed by
* whitespace,
* one of the ASCII characters ``- . , : ; ! ? \ / ' " ) ] } >``
- * or a similar Unicode punctuation character. [#post-chars]_
+ * or a similar non-ASCII punctuation character. [#post-chars]_
.. [#openers] `Unicode categories`_ `Ps` (Open), `Pi` (Initial quote),
or `Pf` (Final quote). [#uni-version]_