97 | | // Remove elements nodes that match with this style rules. |
98 | | if ( tagsRegex.test( currentNode.getName() ) ) |
99 | | currentNode.remove( true ); |
100 | | else |
101 | | currentNode.removeAttributes( removeAttributes ); |
| 97 | // Draft for scayt core. This node must not be a scayt element. |
| 98 | if( !currentNode.getAttribute( 'scaytid' ) ) |
| 99 | { |
| 100 | // Remove elements nodes that match with this style rules. |
| 101 | if ( tagsRegex.test( currentNode.getName() ) ) |
| 102 | currentNode.remove( true ); |
| 103 | else |
| 104 | currentNode.removeAttributes( removeAttributes ); |
| 105 | } |