mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
much cleaner
This commit is contained in:
parent
8156930208
commit
18121a1507
1 changed files with 2 additions and 3 deletions
|
@ -461,15 +461,14 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
||||||
|
|
||||||
// Images shouldn't be defined as empty.
|
// Images shouldn't be defined as empty.
|
||||||
if (tname == "img"){
|
if (tname == "img"){
|
||||||
isEmpty = false;
|
var context = hooks.callAll('collectContentImage', {
|
||||||
hooks.callAll('collectContentImage', {
|
|
||||||
cc: cc,
|
cc: cc,
|
||||||
state: state,
|
state: state,
|
||||||
tname: tname,
|
tname: tname,
|
||||||
styl: styl,
|
styl: styl,
|
||||||
cls: cls,
|
cls: cls,
|
||||||
node: node
|
node: node
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tname == "br")
|
if (tname == "br")
|
||||||
|
|
Loading…
Reference in a new issue