mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-27 13:47:36 -05:00
merge with 0.6
This commit is contained in:
+4
-2
@@ -71,8 +71,6 @@ HTML_XPATH = {
|
||||
".//img[@src='../_images/rimg.png']": '',
|
||||
},
|
||||
'subdir/includes.html': {
|
||||
".//pre/span": 'line 1',
|
||||
".//pre/span": 'line 2',
|
||||
".//a[@href='../_downloads/img.png']": '',
|
||||
},
|
||||
'includes.html': {
|
||||
@@ -132,6 +130,10 @@ if pygments:
|
||||
".//div[@class='inc-startend highlight-text']/div/pre":
|
||||
ur'^foo = u"Including Unicode characters: üöä"\n$',
|
||||
})
|
||||
HTML_XPATH['subdir/includes.html'].update({
|
||||
".//pre/span": 'line 1',
|
||||
".//pre/span": 'line 2',
|
||||
})
|
||||
|
||||
class NslessParser(ET.XMLParser):
|
||||
"""XMLParser that throws away namespaces in tag names."""
|
||||
|
||||
Reference in New Issue
Block a user