merge with 0.6

This commit is contained in:
Georg Brandl
2009-12-24 13:32:16 +01:00
13 changed files with 43 additions and 12 deletions

View File

@@ -56,3 +56,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

1
tests/root/quotes.inc Normal file
View File

@@ -0,0 +1 @@
Testing "quotes" in literal 'included' text.

View File

@@ -77,6 +77,8 @@ HTML_XPATH = {
".//pre": u'Max Strauß',
".//a[@href='_downloads/img.png']": '',
".//a[@href='_downloads/img1.png']": '',
".//pre": u'"quotes"',
".//pre": u"'included'",
},
'autodoc.html': {
".//dt[@id='test_autodoc.Class']": '',