in Ox.sanitizeHTML, fix a bug with adding links
This commit is contained in:
parent
c41afd2f5d
commit
17983efc47
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@
|
|||
});
|
||||
});
|
||||
});
|
||||
html = Ox.addLinks(Ox.encodeHTMLEntities(html));
|
||||
html = Ox.addLinks(Ox.encodeHTMLEntities(html), true);
|
||||
matches.forEach(function(match, i) {
|
||||
html = html.replace(new RegExp(salt.join(i)), match);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue