Updated HTML parsing due to upstream changes.
Version 1.0.2.