Indeed, I've reproduced this. Encrypt html is fine, decrypting it shows it as web page.
It may somewhat make sense. I mean if I make a html e-mail and encrypt it for you, at decrypting you may want to see the e-mail (web view), not its source.
However, maybe you can ask on
https://github.com/spesmilo/electrum/issues about this.