macos-defaults/build/production/handlebars-helpers.js

6 lines
152 B
JavaScript
Raw Normal View History

const Handlebars = require('handlebars')
Handlebars.registerHelper('metaTag', (string) => {
return JSON.stringify(string.replace(/"/g, '"'))
})