Fixed html-entities level
This commit is contained in:
parent
ac54577cb4
commit
015b90958a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue