clean support for image hook
This commit is contained in:
parent
aca745ddf6
commit
8156930208
|
@ -458,6 +458,20 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
else
|
||||
{
|
||||
var tname = (dom.nodeTagName(node) || "").toLowerCase();
|
||||
|
||||
// Images shouldn't be defined as empty.
|
||||
if (tname == "img"){
|
||||
isEmpty = false;
|
||||
hooks.callAll('collectContentImage', {
|
||||
cc: cc,
|
||||
state: state,
|
||||
tname: tname,
|
||||
styl: styl,
|
||||
cls: cls,
|
||||
node: node
|
||||
});
|
||||
}
|
||||
|
||||
if (tname == "br")
|
||||
{
|
||||
this.breakLine = true;
|
||||
|
|
Loading…
Reference in New Issue