line after a title should be of normal type

This commit is contained in:
Jean-Tiare Le Bigot 2012-03-02 18:29:15 +01:00
parent 11fc9f220b
commit edc9212ff1
2 changed files with 7 additions and 2 deletions

View file

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