summaryrefslogtreecommitdiff
path: root/tests/root
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-10 22:04:03 +0100
committerGeorg Brandl <georg@python.org>2014-01-10 22:04:03 +0100
commit4238b992b5e047c00a8a94df263e64fc8d1260db (patch)
treef27a79a92803277d22d465efaed3e28f3999aac1 /tests/root
parent6df56547e6ce002a3ea190a69b708da13e7eb66d (diff)
downloadsphinx-4238b992b5e047c00a8a94df263e64fc8d1260db.tar.gz
Closes #933: Do not crash if an ``:option:`` value is malformed (contains spaces
but no option name).
Diffstat (limited to 'tests/root')
-rw-r--r--tests/root/markup.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/root/markup.txt b/tests/root/markup.txt
index 1fb20cf0..39a8ebc0 100644
--- a/tests/root/markup.txt
+++ b/tests/root/markup.txt
@@ -139,6 +139,7 @@ Adding \n to test unescaping.
* :doc:`subdir/includes`
* ``:download:`` is tested in includes.txt
* :option:`Python -c option <python -c>`
+* This used to crash: :option:`Python c option`
Test :abbr:`abbr (abbreviation)` and another :abbr:`abbr (abbreviation)`.