merge with 0.6

This commit is contained in:
Georg Brandl 2009-04-07 21:51:56 +02:00
commit aa3cd6ec0c

View File

@ -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."""