Fix the case where there is no tagName and node_type != 3
Fix the case where there is no tagName and node_type != 3
will-hart/demarcate.js,will-hart/demarcate.js,shelsonjava/demarcate.js,shelsonjava/demarcate.js