will-hart/demarcate.js — pull request #39 by dvetten (2014-07-15 10:28:58+00:00)
Title: Fix the case where there is no tagName and node_type != 3

This happens when you paste from Microsoft Word and get weird HTML (with inline XML, comments, etcetera).