Heading example

With nested html

HTML can be rendered within the heading as shown.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/heading", {
  text: sanitize("<label>This is a label element</label>")
} %>