mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
#299: Fix the mangling of quotes in "include:: :literal:" blocks.
This commit is contained in:
@@ -51,3 +51,12 @@ Test if dedenting before parsing works.
|
||||
.. cssclass:: inc-pyobj-dedent
|
||||
.. literalinclude:: literal.inc
|
||||
:pyobject: Bar.baz
|
||||
|
||||
Docutils include with "literal"
|
||||
===============================
|
||||
|
||||
While not recommended, it should work (and leave quotes alone).
|
||||
|
||||
.. include:: quotes.inc
|
||||
:literal:
|
||||
:tab-width: 4
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Testing "quotes" in literal 'included' text.
|
||||
Reference in New Issue
Block a user