mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Only add tags to array if not undefined
This commit is contained in:
@@ -941,7 +941,9 @@ var ICEcoder = {
|
||||
if ("undefined" != typeof state.curState) {
|
||||
ICEcoder.htmlTagArray = [];
|
||||
for (cx = state.curState.context; cx; cx = cx.prev) {
|
||||
ICEcoder.htmlTagArray.unshift(cx.tagName);
|
||||
if ("undefined" != typeof cx.tagName) {
|
||||
ICEcoder.htmlTagArray.unshift(cx.tagName);
|
||||
}
|
||||
}
|
||||
}
|
||||
ICEcoder.tagString = ICEcoder.htmlTagArray[ICEcoder.htmlTagArray.length-1];
|
||||
|
||||
Reference in New Issue
Block a user