cgross / grunt-dom-munger

Grunt task to read and manipulate HTML with CSS selectors.
MIT License
93 stars 40 forks source link

Added ability to read contents #29

Open scott-morris opened 9 years ago

scott-morris commented 9 years ago

Allow the read function to take an “html” attribute to get the contents of the selector in addition to an individual attribute. I wanted to use this to take the contents of some header CSS and export it into its own external file, but couldn't do it via the attributes only.