Closed inkarkat closed 11 years ago
I've encountered nasty script errors on every cursor move when over invalid HTML. This can be avoided by limiting the tag name matching (mostly) to valid names and to include it in a very nomagic search regexp for literal matching.
Thanks for this. That regexp was always pretty weak.
I've encountered nasty script errors on every cursor move when over invalid HTML. This can be avoided by limiting the tag name matching (mostly) to valid names and to include it in a very nomagic search regexp for literal matching.