Minor .fromHTML() fixes
Fixed #186