Adding GIFs and html escaping