reverted patch 3770d13776e8

This commit is contained in:
Goffi 2016-01-13 13:11:20 +01:00
commit fbb50a025d
2 changed files with 1 additions and 20 deletions

View file

@ -1355,21 +1355,6 @@ class ElementParser(object):
return self.result.firstChildElement()
def decapsulateDomishContent(elt):
"""Return the inner content of a domish.Element.
@param elt (domish.Element)
@return unicode
"""
result = ''
for child in elt.children:
try:
result += child.toXml() # child id a domish.Element
except AttributeError:
result += child # child is unicode
return result
# FIXME: this method is duplicated from frontends.tools.xmlui.getText
def getText(node):
"""Get child text nodes of a domish.Element.