Update html so text entry renders properly for firefox.

Fixes #2215.