This commit is contained in:
3
server/AyaNova/resource/rpt/ay-pf.js
Normal file
3
server/AyaNova/resource/rpt/ay-pf.js
Normal file
File diff suppressed because one or more lines are too long
@@ -37,8 +37,8 @@ function ayRegisterHelpers() {
|
||||
return currencyLocalized(value);
|
||||
});
|
||||
|
||||
Handlebars.registerHelper("ayMarkdown", function (astring) {
|
||||
return marked(astring, { breaks: true });
|
||||
Handlebars.registerHelper("ayWiki", function (astring) {
|
||||
return new Handlebars.SafeString(DOMPurify.sanitize(marked(astring, { breaks: true })));
|
||||
});
|
||||
|
||||
Handlebars.registerHelper("ayJSON", function (obj) {
|
||||
|
||||
Reference in New Issue
Block a user