From 98ea400da1779f33b3653f40092887d78a8ab6d4 Mon Sep 17 00:00:00 2001 From: grubert Date: Fri, 15 Feb 2008 09:10:52 +0000 Subject: [PATCH] Add test for ``.-_`` in citation labels. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5509 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- test/test_parsers/test_rst/test_citations.py | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/test/test_parsers/test_rst/test_citations.py b/test/test_parsers/test_rst/test_citations.py index d17fd56d3..349569ba3 100755 --- a/test/test_parsers/test_rst/test_citations.py +++ b/test/test_parsers/test_rst/test_citations.py @@ -129,6 +129,37 @@ No blank line. [*citationlabelwithmarkup*] this isn't a citation """], +[""" +isolated internals : ``.-_``. + +.. [citation.withdot] one dot + +.. [citation-withdot] one hyphen + +.. [citation_withunderscore] one underscore +""", +""" + + isolated internals : \n\ + + .-_ + . + +