diff options
author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2013-01-04 17:17:38 +0000 |
---|---|---|
committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2013-01-04 17:17:38 +0000 |
commit | 7a471db12812254b888d00eca307c60e27b1d93e (patch) | |
tree | cae35068bfa33e3f2400aa072924ae193a2b5733 /test | |
parent | 92c57ee16d2234f2e00e6f4737ce1f3569c4c7e1 (diff) | |
download | docutils-7a471db12812254b888d00eca307c60e27b1d93e.tar.gz |
smartquotes: Skip emtpy text tokens without updating the last character.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7585 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test')
-rw-r--r-- | test/test_transforms/test_smartquotes.py | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/test_transforms/test_smartquotes.py b/test/test_transforms/test_smartquotes.py index 14332d2e1..3c059133a 100644 --- a/test/test_transforms/test_smartquotes.py +++ b/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 |