Hi Ben,
I have tested and found that the HTMLUI control does not show spaces whereas IE displays them. I will ask our development team to look into this.
However, you can retain all spaces using the pre tag as show below:
This is italic text this is underlined
Regards,
Davis