trivial, quick and dirty chrome fix

This commit is contained in:
Jean-Tiare Le Bigot 2011-12-02 09:34:17 +01:00
parent 68a01cc603
commit cd15ad24ab
3 changed files with 27 additions and 20 deletions

View file

@ -96,8 +96,16 @@ domline.createDomLine = function(nonEmpty, doesWrap, optBrowser, optDocument)
start = start?'start="'+start[1]+'"':'';
if (listType)
{
preHtml = '<ul '+start+' class="list-' + listType + '"><li>';
postHtml = '</li></ul>';
if(listType.indexOf("number") < 0)
{
preHtml = '<ul class="list-' + listType + '"><li>';
postHtml = '</li></ul>';
}
else
{
preHtml = '<ol '+start+' class="list-' + listType + '"><li>';
postHtml = '</li></ol>';
}
}
result.lineMarker += txt.length;
return; // don't append any text