Whether I generate a whole page or generate a partial page and then add HTML to it is equivalent from a safety perspective.