mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
fixed style disapearing when adding a char + added a comment to describe the trick in contentcollector
This commit is contained in:
parent
edc9212ff1
commit
666bdcaaf8
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue