Fix HTML-IM lang support.
This commit is contained in:
parent
23f112602c
commit
75a792eb6f
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class XHTML_IM(ElementBase):
|
|||
return ''.join(result)
|
||||
return ''
|
||||
|
||||
def del_body(self, lang):
|
||||
def del_body(self, lang=None):
|
||||
if lang is None:
|
||||
lang = self.get_lang()
|
||||
bodies = self.xml.findall('{%s}body' % XHTML_NS)
|
||||
|
|
Loading…
Reference in a new issue