Make non-existent messages be html safe regardless of output format