fixed ordered list disapearing when typing

This commit is contained in:
Jean-Tiare Le Bigot 2011-12-09 13:23:05 +01:00
parent a5ec736b4c
commit 4078ad83da
2 changed files with 3 additions and 3 deletions

View file

@ -470,7 +470,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
{
cc.doAttrib(state, "strikethrough");
}
if (tname == "ul")
if (tname == "ul" || tname == "ol")
{
var type;
var rr = cls && /(?:^| )list-([a-z]+[12345678])\b/.exec(cls);