More function expose workaround for reveal-markdown.js

This commit is contained in:
Yukai Huang 2016-10-10 08:24:58 +08:00
parent 70c20aadda
commit e10203b7e9
3 changed files with 5 additions and 0 deletions

View file

@ -51,6 +51,7 @@ var filterXSSOptions = {
function preventXSS(html) {
return filterXSS(html, filterXSSOptions);
}
window.preventXSS = preventXSS;
module.exports = {
preventXSS: preventXSS