From fcd20a70d7764afb46db451091b61cdfc549540c Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 11 Apr 2018 14:16:08 -0400 Subject: [PATCH] FIX: allow lists in summary email post excerpts --- app/helpers/user_notifications_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/user_notifications_helper.rb b/app/helpers/user_notifications_helper.rb index 3e9683359e6..dd57d457943 100644 --- a/app/helpers/user_notifications_helper.rb +++ b/app/helpers/user_notifications_helper.rb @@ -37,7 +37,7 @@ module UserNotificationsHelper result = "" 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_s length += node.inner_text.length