Browse Source

Fix #9

pull/6/head
Menci 7 years ago
parent
commit
6075fbd97e
  1. 6
      utility.js

6
utility.js

@ -103,7 +103,11 @@ module.exports = {
stripIgnoreTag: true stripIgnoreTag: true
}); });
let replaceXSS = s => { let replaceXSS = s => {
return xss.process(s); s = xss.process(s);
if (s) {
s = `<div style="position: relative; overflow: hidden; ">${s}</div>`;
}
return s;
}; };
let replaceUI = s => { let replaceUI = s => {
if (noReplaceUI) return s; if (noReplaceUI) return s;

Loading…
Cancel
Save