Removed LI hack

git-svn-id: svn://10.0.0.236/trunk@5447 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp
1998-07-14 00:54:21 +00:00
parent ccf0a01c00
commit 4d29852f8a
2 changed files with 2 additions and 10 deletions

View File

@@ -1239,11 +1239,7 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) {
break; //singletons can't contain anything...
case eHTMLTag_li:
if ((eHTMLTag_li == aChild) || //XXX this is temporary!!!
(eHTMLTag_ul == aChild) ||
(eHTMLTag_ol == aChild) ||
(eHTMLTag_menu == aChild) ||
(eHTMLTag_dir == aChild)) {
if (eHTMLTag_li == aChild) {
return PR_FALSE;
}
result=PRBool(!strchr(gHeadingTags,aChild)); break;