1. Collections Component Guide
  2. Govspeak content (HTML Publications)
  3. With content
Govspeak content (HTML Publications) example

With content

How it looks (preview)

This is a Budget that puts security first. It ensures economic security for working people by putting the public finances in order and setting out a bold plan for a more productive, balanced economy.

How to call this example

<%= render "govuk_publishing_components/components/govspeak_html_publication", {
  content: sanitize("<p>This is a Budget that puts security first. It ensures economic security for working people by putting the public finances in order and setting out a bold plan for a more productive, balanced economy.</p>
    ")
} %>