()
| 1 | function responsiveTables() { |
| 2 | this.process((doc, output) => { |
| 3 | return output.replace(/<table/g, '<div class="table-wrapper"><table').replace(/<\/table>/g, '</table></div>') |
| 4 | }) |
| 5 | } |
| 6 | |
| 7 | module.exports.register = (registry, context) => { |
| 8 | registry.postprocessor(responsiveTables) |
nothing calls this directly
no outgoing calls
no test coverage detected