posthtml-remove-attributes
PostHTML plugin to remove attributes unconditionally or with content match
Installation
Install the posthtml-remove-attributes
:
$ npm install posthtml-remove-attributes --save
Usage
var posthtml = ;var html = '<div style="display: inline;" class="wow">OMG</div>';;// <div>OMG</div>
Contribution guidelines
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using npm test
.