Fixes HTML errors