diff --git a/app/helpers/admin/application_helper.rb b/app/helpers/admin/application_helper.rb index 7761e35a289ee2a548010092daeeaea67de74d89..461fadf88def1748e7e0006a48151b36b871f089 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", ' '