maybe, you could move this string html to a template and render it here