mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Don't Sanitize Undefined Team Notices (#1725)
Don't Sanitize Undefined Team Notices GitOrigin-RevId: 540316d71bc4047d25100bb0ef524d5d2adba0b1
This commit is contained in:
committed by
sharelatex
parent
6232854ff7
commit
e2793f659c
@@ -96,7 +96,8 @@ module.exports =
|
||||
}
|
||||
|
||||
for memberGroupSubscription in memberGroupSubscriptions
|
||||
memberGroupSubscription.teamNotice = sanitizeHtml(memberGroupSubscription.teamNotice)
|
||||
if memberGroupSubscription.teamNotice
|
||||
memberGroupSubscription.teamNotice = sanitizeHtml(memberGroupSubscription.teamNotice)
|
||||
|
||||
callback null, {
|
||||
personalSubscription,
|
||||
|
||||
Reference in New Issue
Block a user