diff options
author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-04-15 10:23:34 +0000 |
---|---|---|
committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-04-15 10:23:34 +0000 |
commit | 2cfe5d2be20c69bf11f8188a481be4e809f76117 (patch) | |
tree | 8d10e45110fec1138d7e6cc3063d060ee01b1e33 /docutils/test | |
parent | 9b638dcd81e4fc9a9bd09ad17f08710f0f5dfe29 (diff) | |
download | docutils-2cfe5d2be20c69bf11f8188a481be4e809f76117.tar.gz |
Apply feature request 63 (support anchors in rfc role).
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8254 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
-rwxr-xr-x | docutils/test/test_parsers/test_rst/test_interpreted.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docutils/test/test_parsers/test_rst/test_interpreted.py b/docutils/test/test_parsers/test_rst/test_interpreted.py index 87d0a77e0..2a14c0553 100755 --- a/docutils/test/test_parsers/test_rst/test_interpreted.py +++ b/docutils/test/test_parsers/test_rst/test_interpreted.py @@ -334,6 +334,15 @@ totest['references'] = [ <paragraph> RFC number must be a number greater than or equal to 1; "0" is invalid. """], +["""\ +:RFC:`2822#section1` +""", +"""\ +<document source="test data"> + <paragraph> + <reference refuri="http://tools.ietf.org/html/rfc2822.html#section1"> + RFC 2822 +"""], ] totest['unknown_roles'] = [ |