MCPcopy Create free account
hub / github.com/apache/camel-website / removeInlineStyle

Function removeInlineStyle

extensions/inline-styles.js:1–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function removeInlineStyle() {
2 this.process((doc, output) => {
3 return output.replace(/\s*style="[^"]+"\s*/g, '')
4 })
5}
6
7module.exports.register = (registry, context) => {
8 registry.postprocessor(removeInlineStyle)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected