mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 06:25:28 -05:00
Don't Sanitize Undefined Team Notices (#1725)
Don't Sanitize Undefined Team Notices GitOrigin-RevId: 540316d71bc4047d25100bb0ef524d5d2adba0b1
This commit is contained in:
parent
6232854ff7
commit
e2793f659c
1 changed files with 2 additions and 1 deletions
|
@ -96,6 +96,7 @@ module.exports =
|
||||||
}
|
}
|
||||||
|
|
||||||
for memberGroupSubscription in memberGroupSubscriptions
|
for memberGroupSubscription in memberGroupSubscriptions
|
||||||
|
if memberGroupSubscription.teamNotice
|
||||||
memberGroupSubscription.teamNotice = sanitizeHtml(memberGroupSubscription.teamNotice)
|
memberGroupSubscription.teamNotice = sanitizeHtml(memberGroupSubscription.teamNotice)
|
||||||
|
|
||||||
callback null, {
|
callback null, {
|
||||||
|
|
Loading…
Reference in a new issue