diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2017-11-04 21:14:37 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2017-11-04 21:14:37 +0000 |
| commit | 2bf101ef9190028ca24ed087cb6d363f6e76ee10 (patch) | |
| tree | b060eca0678db4922e44369cd6b4a7ae54ceca9d /test/test_transforms | |
| parent | 188039b24395c6a42b8c43e7da64430cc949c017 (diff) | |
| download | docutils-2bf101ef9190028ca24ed087cb6d363f6e76ee10.tar.gz | |
Ignore backslash-escaped separators when extracting authors from a paragraph.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8198 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_transforms')
| -rwxr-xr-x | test/test_transforms/test_docinfo.py | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test/test_transforms/test_docinfo.py b/test/test_transforms/test_docinfo.py index d29633517..2a03d364e 100755 --- a/test/test_transforms/test_docinfo.py +++ b/test/test_transforms/test_docinfo.py @@ -230,6 +230,49 @@ totest['bibliographic_field_lists'] = ((DocInfo,), [ <author> One, Only """], +[r""":Authors: Me\, Myself; **I** +:Authors: Pac\;Man\\; Ms. Pac\Man; Pac\ Man, Jr. +:Authors: + Here + + The\re + + *Every\ where* +:Authors: - First\\ + - Se\ cond + - Thir\d +""", +"""\ +<document source="test data"> + <docinfo> + <authors> + <author> + Me, Myself + <author> + I + <authors> + <author> + Pac;Man\\ + <author> + Ms. PacMan + <author> + PacMan, Jr. + <authors> + <author> + Here + <author> + There + <author> + <emphasis> + Everywhere + <authors> + <author> + First\\ + <author> + Second + <author> + Third +"""], ["""\ :Authors: |
