Browse Source

feat: default p tag around sanitized page content

pull/2131/head
natdeanlewissoftwire 2 years ago
parent
commit
157df3d58f
  1. 4
      app/views/notifications/show.html.erb

4
app/views/notifications/show.html.erb

@ -6,7 +6,9 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl"><%= @notification.title %></h1>
<%= @notification.page_content %>
<p>
<%= sanitize @notification.page_content %>
</p>
</div>
</div>
<br>

Loading…
Cancel
Save