Closes #1123: Allow whitespaces in filenames given to :rst:dir:literalinclude.

This commit is contained in:
Georg Brandl
2013-03-30 17:47:21 +01:00
parent 2e8b8ba7e3
commit b9696a9d9d
2 changed files with 2 additions and 1 deletions

View File

@@ -163,6 +163,7 @@ Bugs fixed
* #1127: Fix traceback when autodoc tries to tokenize a non-Python file.
* #1126: Fix double-hyphen to en-dash conversion in wrong places such as
command-line option names in LaTeX.
* #1123: Allow whitespaces in filenames given to :rst:dir:`literalinclude`.
* #1117: Handle .pyx files in sphinx-apidoc.
* #1112: Avoid duplicate download files when referenced from documents in
different ways (absolute/relative).

View File

@@ -92,7 +92,7 @@ class LiteralInclude(Directive):
has_content = False
required_arguments = 1
optional_arguments = 0
final_argument_whitespace = False
final_argument_whitespace = True
option_spec = {
'linenos': directives.flag,
'tab-width': int,