From 36465afa20c4963dcef8a1252057a0b99acbd24e Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 27 Sep 2022 16:34:20 +0200 Subject: [PATCH] raw --- app/views/admin/communication/websites/pages/show.html.erb | 2 +- app/views/admin/communication/websites/posts/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/communication/websites/pages/show.html.erb b/app/views/admin/communication/websites/pages/show.html.erb index 83e3cabf5..0513eac08 100644 --- a/app/views/admin/communication/websites/pages/show.html.erb +++ b/app/views/admin/communication/websites/pages/show.html.erb @@ -12,7 +12,7 @@ </div> <div class="card-body"> <p class="lead"> - <%= @page.description_short %> + <%= raw @page.description_short %> </p> </div> </div> diff --git a/app/views/admin/communication/websites/posts/show.html.erb b/app/views/admin/communication/websites/posts/show.html.erb index 4d8e51244..a066ed259 100644 --- a/app/views/admin/communication/websites/posts/show.html.erb +++ b/app/views/admin/communication/websites/posts/show.html.erb @@ -10,7 +10,7 @@ </div> <div class="card-body"> <p class="lead"> - <%= @post.description_short %> + <%= raw @post.description_short %> </p> </div> </div> -- GitLab