Added 'safe' in templates to show HTML.