mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
FIX: undefined method error for some digests.
This commit is contained in:
parent
b21949c7cb
commit
23066edbe1
@ -60,7 +60,7 @@ module UserNotificationsHelper
|
||||
else
|
||||
# Otherwise, try just the first paragraph.
|
||||
para = first_paragraph_from(html)
|
||||
raw Sanitize.clean(para, UserNotificationsHelper.sanitize_options)
|
||||
raw Sanitize.clean(para.to_s, UserNotificationsHelper.sanitize_options)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user