mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
even cleaner
This commit is contained in:
parent
18121a1507
commit
c4f1189ebd
1 changed files with 1 additions and 3 deletions
|
@ -459,7 +459,6 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
||||||
{
|
{
|
||||||
var tname = (dom.nodeTagName(node) || "").toLowerCase();
|
var tname = (dom.nodeTagName(node) || "").toLowerCase();
|
||||||
|
|
||||||
// Images shouldn't be defined as empty.
|
|
||||||
if (tname == "img"){
|
if (tname == "img"){
|
||||||
var context = hooks.callAll('collectContentImage', {
|
var context = hooks.callAll('collectContentImage', {
|
||||||
cc: cc,
|
cc: cc,
|
||||||
|
@ -470,8 +469,7 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
||||||
node: node
|
node: node
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else if (tname == "br")
|
||||||
if (tname == "br")
|
|
||||||
{
|
{
|
||||||
this.breakLine = true;
|
this.breakLine = true;
|
||||||
var tvalue = dom.nodeAttr(node, 'value');
|
var tvalue = dom.nodeAttr(node, 'value');
|
||||||
|
|
Loading…
Reference in a new issue