Say, for example, that a large part of your
job is to incorporate chunks of HTML generated
by third-parties and blatting them into a
larger page. It's easy enough to strip off the
This is a quick hack that checks to see that some of the killer tags are balanced.
By default, it checks for:
You can specify others on the command-line
perl tagmatch.pl -t body foo bar
Here is the Perl source code.