A platform for community discussion. Free, open, simple.
FIX: allow lists in summary email post excerpts
Neil Lalondefcd20a70d776
diff --git a/app/helpers/user_notifications_helper.rb b/app/helpers/user_notifications_helper.rbindex 3e9683359e6..dd57d457943 100644--- a/app/helpers/user_notifications_helper.rb+++ b/app/helpers/user_notifications_helper.rb@@ -37,7 +37,7 @@ module UserNotificationsHelperresult = ""length = 0- doc.css('body > p, aside.onebox').each do |node|+ doc.css('body > p, aside.onebox, body > ul').each do |node|if node.text.present?result << node.to_slength += node.inner_text.length