For now the normalizer just does something stupid. Removing the whitespace.

This commit is contained in:
Dave Halter
2017-05-27 20:45:30 -04:00
parent 673ffb9c62
commit d774bdd8f7
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ class NodeOrLeaf(object):
try:
children = self.children
except AttributeError:
return normalizer(self)
return normalizer.normalize(self)
else:
return ''.join(child.normalize(normalizer) for child in children)