From 8dd8f95b0b5e2b185869314f0b88076a4b3d6487 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Wed, 17 Nov 2021 14:40:59 +0100
Subject: [PATCH] accepts <br> in prepare for github

---
 app/helpers/admin/application_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/helpers/admin/application_helper.rb b/app/helpers/admin/application_helper.rb
index 7761e35a2..461fadf88 100644
--- a/app/helpers/admin/application_helper.rb
+++ b/app/helpers/admin/application_helper.rb
@@ -63,7 +63,7 @@ module Admin::ApplicationHelper
   def prepare_for_github(html, university)
     text = html.to_s
     text = sanitize text,
-                    tags: %w(table a figure img figcaption i em b strong p h2 h3 h4 h5 h6 blockquote),
+                    tags: %w(table a figure img figcaption i em b strong p h2 h3 h4 h5 h6 blockquote br),
                     attributes: %w(href alt title target rel src srcset width height)
     text.gsub! "\r", ''
     text.gsub! "\n", ' '
-- 
GitLab