Commit 7b75fa37 authored by Nicolas Delaby's avatar Nicolas Delaby

aggregate text of sub nodes aswell

parent 9b5d0190
...@@ -348,7 +348,7 @@ class ERP5Diff: ...@@ -348,7 +348,7 @@ class ERP5Diff:
""" """
Aggregate child text nodes of an element into a single string. Aggregate child text nodes of an element into a single string.
""" """
return '%s' % element.xpath('string(text())') return '%s' % element.xpath('string(.)')
def _removeStrictEqualsSubNodeList(self, old_list, new_list): def _removeStrictEqualsSubNodeList(self, old_list, new_list):
"""Remove inside list all elements which are similar """Remove inside list all elements which are similar
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment