mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[de][bu] Fix bug #79827
This commit is contained in:
committed by
Ilya Kirillov
parent
829c6de4af
commit
3a19f11a85
@ -401,7 +401,12 @@
|
||||
|
||||
// рендер html тагов
|
||||
if (!this.Config.renderHTMLTags) {
|
||||
sOutputText = sOutputText.replace(/</gi, '<').replace(/>/gi, '>');
|
||||
sOutputText = sOutputText = sOutputText
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''');
|
||||
}
|
||||
|
||||
return sOutputText;
|
||||
|
||||
Reference in New Issue
Block a user