Skip to content
Snippets Groups Projects
Verified Commit cbf2009d authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Strip all XML texts.

parent f6996919
No related branches found
No related tags found
No related merge requests found
......@@ -11,4 +11,4 @@ def xml_get_text(node, tag):
return None
if not node.getElementsByTagName(tag)[0].firstChild:
return None
return node.getElementsByTagName(tag)[0].firstChild.data
return node.getElementsByTagName(tag)[0].firstChild.data.strip()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment