From 157df3d58f99a82f5f3bed27dc935000ed59889b Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Tue, 9 Jan 2024 12:09:52 +0000 Subject: [PATCH] feat: default p tag around sanitized page content --- app/views/notifications/show.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/notifications/show.html.erb b/app/views/notifications/show.html.erb index a9034531f..347020cbe 100644 --- a/app/views/notifications/show.html.erb +++ b/app/views/notifications/show.html.erb @@ -6,7 +6,9 @@

<%= @notification.title %>

- <%= @notification.page_content %> +

+ <%= sanitize @notification.page_content %> +