fixed style disapearing when adding a char + added a comment to describe the trick in contentcollector

This commit is contained in:
Jean-Tiare Le Bigot 2012-03-02 19:41:55 +01:00
parent edc9212ff1
commit 666bdcaaf8
3 changed files with 5 additions and 2 deletions

View file

@ -115,7 +115,7 @@ domline.createDomLine = function(nonEmpty, doesWrap, optBrowser, optDocument)
else if(details[1] == "title")
{
markup = 'h'+Number(details[2]);
preHtml = '<'+markup+'>';
preHtml = '<'+markup+' class="list-' + Security.escapeHTMLAttribute(listType) +' >';
postHtml = '</'+markup+'>';
}
//handle bullet lists and indentations