adobe/brackets — pull request #4663 by njx (2013-08-06 02:16:05+00:00)
Title: Makes the tokenizer return errors when low-level HTML syntax is incorrect...

...and makes the parser return null if the tokenizer rejects the syntax.

This fix by itself makes #4644 no longer reproduce, although we also still want to fix the issue with later edits referring to nodes deleted by earlier edits. We might want to consider figuring out a different set of repro steps for that issue that doesn't rely on this tokenization problem, and filing it as a separate bug/unit test case.

@dangoor