mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +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 тагов
|
// рендер html тагов
|
||||||
if (!this.Config.renderHTMLTags) {
|
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;
|
return sOutputText;
|
||||||
|
|||||||
Reference in New Issue
Block a user