diff options
| author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2008-02-15 09:23:07 +0000 |
|---|---|---|
| committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2008-02-15 09:23:07 +0000 |
| commit | d39181c68124d31c8472bdce706e52e7c6614833 (patch) | |
| tree | 8d20fc353e892e5f274b52811c190a1e185b490d /docutils/test | |
| parent | 94f2abc8fc14ecf5f95031b100d653b79618c24f (diff) | |
| download | docutils-d39181c68124d31c8472bdce706e52e7c6614833.tar.gz | |
Allow ``+`` and ``:`` in reference names.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5510 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
| -rwxr-xr-x | docutils/test/test_parsers/test_rst/test_citations.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docutils/test/test_parsers/test_rst/test_citations.py b/docutils/test/test_parsers/test_rst/test_citations.py index 349569ba3..09f7cef81 100755 --- a/docutils/test/test_parsers/test_rst/test_citations.py +++ b/docutils/test/test_parsers/test_rst/test_citations.py @@ -137,6 +137,10 @@ isolated internals : ``.-_``. .. [citation-withdot] one hyphen .. [citation_withunderscore] one underscore + +.. [citation:with:colons] two colons + +.. [citation+withplus] one plus """, """<document source="test data"> <paragraph> @@ -159,6 +163,16 @@ isolated internals : ``.-_``. citation_withunderscore <paragraph> one underscore + <citation ids="citation-with-colons" names="citation:with:colons"> + <label> + citation:with:colons + <paragraph> + two colons + <citation ids="citation-withplus" names="citation+withplus"> + <label> + citation+withplus + <paragraph> + one plus """], ] |
