FIX: Missing module name
This commit is contained in:
parent
78c7c03d26
commit
1609950781
|
@ -50,7 +50,7 @@ module UserNotificationsHelper
|
||||||
def email_excerpt(html, posts_count)
|
def email_excerpt(html, posts_count)
|
||||||
# If there's only one post, include the whole thing.
|
# If there's only one post, include the whole thing.
|
||||||
if posts_count == 1
|
if posts_count == 1
|
||||||
raw Sanitize.clean(html, sanitize_options)
|
raw Sanitize.clean(html, UserNotificationsHelper.sanitize_options)
|
||||||
else
|
else
|
||||||
# Otherwise, try just the first paragraph.
|
# Otherwise, try just the first paragraph.
|
||||||
para = first_paragraph_from(html)
|
para = first_paragraph_from(html)
|
||||||
|
|
Loading…
Reference in New Issue