summaryrefslogtreecommitdiff
path: root/docutils/test/test_transforms/test_smartquotes.py
diff options
context:
space:
mode:
Diffstat (limited to 'docutils/test/test_transforms/test_smartquotes.py')
-rw-r--r--docutils/test/test_transforms/test_smartquotes.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/docutils/test/test_transforms/test_smartquotes.py b/docutils/test/test_transforms/test_smartquotes.py
index 14332d2e1..3c059133a 100644
--- a/docutils/test/test_transforms/test_smartquotes.py
+++ b/docutils/test/test_transforms/test_smartquotes.py
@@ -95,9 +95,12 @@ u"""\
Quotes and inline-elements:
* Around "_`targets`", "*emphasized*" or "``literal``" text
- and links to "targets_".
+ and links to "targets_".
* Inside *"emphasized"* or other `inline "roles"`
+
+Do not drop characters from intra-word inline markup like
+*re*\ ``Structured``\ *Text*.
""",
u"""\
<document source="test data">
@@ -127,7 +130,16 @@ u"""\
“emphasized”
or other \n\
<title_reference>
- inline “roles”\
+ inline “roles”
+ <paragraph>
+ Do not drop characters from intra-word inline markup like
+ <emphasis>
+ re
+ <literal>
+ Structured
+ <emphasis>
+ Text
+ .\
"""],
["""\
.. class:: language-de