From 105c41b4c2891b29708e0e8ba35ce0814060af2b Mon Sep 17 00:00:00 2001 From: echarp Date: Mon, 9 Oct 2017 00:51:57 +0200 Subject: [PATCH] Sanitizing was a bit brutal, removing the iframe to open a chat window --- app/views/pages/contact.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/pages/contact.haml b/app/views/pages/contact.haml index 5efedd3b..9ac5c2da 100644 --- a/app/views/pages/contact.haml +++ b/app/views/pages/contact.haml @@ -1,2 +1,2 @@ :markdown - #{t '.content'} + #{sanitize t('.content'), tags: %w(h2 strong em a iframe), attributes: %w(src style height width)}