Dev: Log code input highlight

This commit is contained in:
surunzi
2016-05-09 13:16:40 +08:00
parent 173c2823db
commit 3f23b97e83
7 changed files with 18 additions and 10 deletions

View File

@@ -192,7 +192,7 @@ function formatChildNodes(nodes)
});
continue;
}
if (child.nodeType === 1 || child.id !== 'eruda')
if (child.nodeType === 1 && child.id !== 'eruda')
{
ret.push({
text: formatElName(child.tagName, child.id, child.className, child.attributes),