Added proper html to text transformer

And a lot of tidbits just because they annoyed me.