profectus-docs/profectus-theme/resources/helpers/escape.js

11 lines
324 B
JavaScript
Raw Normal View History

2023-04-12 23:41:44 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Handlebars = require("handlebars");
const utils_1 = require("../../utils");
function default_1() {
Handlebars.registerHelper('escape', function (str) {
return (0, utils_1.escapeChars)(str);
});
}
exports.default = default_1;