diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-28 18:58:58 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-28 18:58:58 +0900 |
commit | 321b3d49cbf67e665e6fdcf6bc7df673e21a1221 (patch) | |
tree | 222b21300e009bc8c47f3b5d1f60cea9550c5023 /tests/test_util_rst.py | |
parent | 01caa52355c276fb0e9c2ab31c5321f63c8bba74 (diff) | |
download | sphinx-git-321b3d49cbf67e665e6fdcf6bc7df673e21a1221.tar.gz |
Fix #3952: apidoc: module header is too escaped
Diffstat (limited to 'tests/test_util_rst.py')
-rw-r--r-- | tests/test_util_rst.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_util_rst.py b/tests/test_util_rst.py index 406ea710e..07b9174cc 100644 --- a/tests/test_util_rst.py +++ b/tests/test_util_rst.py @@ -14,3 +14,5 @@ from sphinx.util.rst import escape def test_escape(): assert escape(':ref:`id`') == r'\:ref\:\`id\`' assert escape('footnote [#]_') == r'footnote \[\#\]\_' + assert escape('sphinx.application') == r'sphinx.application' + assert escape('.. toctree::') == r'\.. toctree\:\:' |