Make sure our attribute doesn't break markup.