blob: 99435ed4e025058ad95411092f114cb7ab5b938f [file] [log] [blame]
function removeInlineStyle() {
this.process((doc, output) => {
return output.replace(/\s*style="[^"]+"\s*/g, '')
})
}
module.exports.register = (registry, context) => {
registry.postprocessor(removeInlineStyle)
}