Branch: Tag:

2013-10-25

2013-10-25 12:29:18 by Martin Jonsson <marty@roxen.com>

Ignore unknown tags when parsing HTML.

This should avoid breakage when "<" is encountered in javascripts inlined
in <script> tags.

73:    parser->add_tag(tag_name + "/", process_tag);    }    +  parser->ignore_unknown (1);    string res = parser->finish(s)->read();    parser = 0;    process_tag = 0;