Tweak HTML parsing