More bulletproof HTML demo. Fix #43.