fix: #177
This commit is contained in:
parent
28a51f44ec
commit
560e52768e
|
@ -31,10 +31,12 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
|
|||
var count = 0;
|
||||
for (var i = 0; i < container.children.length; i++) {
|
||||
var node = container.children[i];
|
||||
var ignoredTagNames = ['CODE-EXAMPLE', 'SCRIPT', 'CODE', 'EM', 'STRONG'];
|
||||
console.log(node);
|
||||
var ignoredTagNames = ['CODE-EXAMPLE', 'SCRIPT', 'CODE', 'EM', 'STRONG', 'CODE-TABS'];
|
||||
// ignore example code.
|
||||
if (node.classList.contains('code-example') ||
|
||||
ignoredTagNames.indexOf(node.tagName) >= 0) {
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue