From f1a714a17939b330c62c0e086e52e8ebe3475727 Mon Sep 17 00:00:00 2001 From: Neil Jenkins Date: Wed, 16 Nov 2011 19:24:43 +1100 Subject: [PATCH]
s should be added to every block in Webkit/Gecko --- source/Node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Node.js b/source/Node.js index 4ce6ee7..8d207a0 100644 --- a/source/Node.js +++ b/source/Node.js @@ -389,7 +389,7 @@ implement( Element, { el.parentNode.insertBefore( doc.createTextNode( '' ), el ); } } - else if ( !el.textContent && !el.querySelector( 'BR' ) ) { + else if ( !el.querySelector( 'BR' ) ) { fixer = doc.createElement( 'BR' ); while ( ( child = el.lastElementChild ) && !child.isInline() ) { el = child;