replaced the htmllib-based tag balancer (which would not fix excess closing tags) by one based on regexps, which is one order of magnitude faster, and more resilient to malformed HTML
replaced the htmllib-based tag balancer (which would not fix excess closing
tags) by one based on regexps, which is one order of magnitude faster, and
more resilient to malformed HTML

fazalmajid/temboz,fazalmajid/temboz,fazalmajid/temboz,fazalmajid/temboz