Fix double escaping of thumbnails.