Better HTML processing