hrm bit of a hack, anyone any ideas on better way?
This commit is contained in:
parent
0216a10a12
commit
35da64be5c
1 changed files with 6 additions and 4 deletions
|
@ -324,7 +324,6 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
return [key, value];
|
||||
})
|
||||
);
|
||||
|
||||
lines.appendText('*', Changeset.makeAttribsString('+', attributes , apool));
|
||||
}
|
||||
cc.startNewLine = function(state)
|
||||
|
@ -472,8 +471,12 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
cls: cls,
|
||||
node: node
|
||||
});
|
||||
}else{
|
||||
// THIS SEEMS VERY HACKY! -- Please submit a better fix!
|
||||
delete state.lineAttributes.img
|
||||
}
|
||||
else if (tname == "br")
|
||||
|
||||
if (tname == "br")
|
||||
{
|
||||
this.breakLine = true;
|
||||
var tvalue = dom.nodeAttr(node, 'value');
|
||||
|
@ -498,7 +501,6 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
{
|
||||
var styl = dom.nodeAttr(node, "style");
|
||||
var cls = dom.nodeProp(node, "className");
|
||||
|
||||
var isPre = (tname == "pre");
|
||||
if ((!isPre) && abrowser.safari)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue