mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 15:49:01 +02:00
Merge pull request #13084 from overleaf/ds-jpa-system-messages-html-escape
[web] escape HTML content in system messages as rendered via angular GitOrigin-RevId: 88e711a1c6f4f9f70c09ca723893a48a0ec262c1
This commit is contained in:
@@ -63,7 +63,8 @@ block content
|
||||
button(ng-hide="protected",ng-click="hide()").close.pull-right
|
||||
span(aria-hidden="true") ×
|
||||
span.sr-only #{translate("close")}
|
||||
.system-message-content(ng-bind-html="htmlContent")
|
||||
.system-message-content
|
||||
| {{htmlContent}}
|
||||
|
||||
grammarly-warning(delay=10000)
|
||||
if hasFeature('saas')
|
||||
|
||||
@@ -34,7 +34,8 @@ block content
|
||||
button(ng-hide="protected",ng-click="hide()").close.pull-right
|
||||
span(aria-hidden="true") ×
|
||||
span.sr-only #{translate("close")}
|
||||
.system-message-content(ng-bind-html="htmlContent")
|
||||
.system-message-content
|
||||
| {{htmlContent}}
|
||||
|
||||
include ../translations/translation_message
|
||||
|
||||
|
||||
Reference in New Issue
Block a user