summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input/data/standard.txt
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-10-20 20:53:47 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-10-20 20:53:47 +0000
commitf3b2eab157e28d304906a4b5b48ff4b6a02342f2 (patch)
tree13a350cd98159556a86ba97c6584c16db03b278c /docutils/test/functional/input/data/standard.txt
parent457192bad92591e965f0ebf8918a4fac9a350998 (diff)
downloaddocutils-f3b2eab157e28d304906a4b5b48ff4b6a02342f2.tar.gz
Fix bug #331: fixed the "trim" options of the "unicode" directive.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8188 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input/data/standard.txt')
-rw-r--r--docutils/test/functional/input/data/standard.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt
index 7e2b1d7f3..8bd1d99f0 100644
--- a/docutils/test/functional/input/data/standard.txt
+++ b/docutils/test/functional/input/data/standard.txt
@@ -109,7 +109,8 @@ cross-references (example_), external hyperlinks with embedded URIs
references`__ (`a second reference`__), footnote references (manually
numbered [1]_, anonymous auto-numbered [#]_, labeled auto-numbered
[#label]_, or symbolic [*]_), citation references ([CIT2002]_),
-substitution references (|example|), and _`inline hyperlink targets`
+substitution references (|example| &
+a *trimmed heart* ``(U+2665):`` |heart|), and _`inline hyperlink targets`
(see Targets_ below for a reference back to here). Character-level
inline markup is also possible (although exceedingly ugly!) in *re*\
``Structured``\ *Text*. Problems are indicated by |problematic| text
@@ -906,6 +907,11 @@ An inline image (|example|) example:
.. |EXAMPLE| image:: ../../../docs/user/rst/images/biohazard.png
+A Unicode example:
+
+.. |heart| unicode:: 0x2665
+ :trim:
+
(Substitution definitions are not visible in the HTML source.)
Comments