| author | gibus |
| Mon, 12 Nov 2012 12:58:34 +0100 | |
| changeset 473 | cefe588b2a2b |
| parent 472 | 39f17ac0388c |
| child 474 | d3639d79979e |
--- a/src/cm/utils/spannifier.py Tue Nov 06 09:25:44 2012 +0100 +++ b/src/cm/utils/spannifier.py Mon Nov 12 12:58:34 2012 +0100 @@ -8,6 +8,8 @@ return soup(text=lambda text:not isinstance(text, Comment)) def is_real_text_node(textNode): + if textNode.string == "\n": + return False return not textNode.findParent('style') def get_the_soup(input):