diff options
author | John McLear <john@mclear.co.uk> | 2015-01-26 02:39:43 +0000 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2015-01-26 02:39:43 +0000 |
commit | c4f1189ebdc92f0da286c3939995f1564d5497dd (patch) | |
tree | 63363effed9d927dd92a910eedbece7af613f446 /src/static/js | |
parent | 18121a15071f775d6605719088ea147bb4cd1d14 (diff) | |
download | etherpad-lite-c4f1189ebdc92f0da286c3939995f1564d5497dd.zip |
even cleaner
Diffstat (limited to 'src/static/js')
-rw-r--r-- | src/static/js/contentcollector.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js index c0964c4a..2c8eefbf 100644 --- a/src/static/js/contentcollector.js +++ b/src/static/js/contentcollector.js @@ -459,7 +459,6 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas { var tname = (dom.nodeTagName(node) || "").toLowerCase(); - // Images shouldn't be defined as empty. if (tname == "img"){ var context = hooks.callAll('collectContentImage', { cc: cc, @@ -470,8 +469,7 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas node: node }); } - - if (tname == "br") + else if (tname == "br") { this.breakLine = true; var tvalue = dom.nodeAttr(node, 'value'); |