Fixed html-entities level

This commit is contained in:
zeldaroot 2021-06-13 03:45:48 +03:00
parent ac54577cb4
commit 015b90958a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function decodeText(text) {
i = 0,
l,
x;
text = entities.decode(text);
text = entities.decode(text, { level: 'all' });
arr = text.split(/(%(?:D0|D1)%.{2})/);
for (l = arr.length; i < l; i++) {
try {