grunt-dom-munger
grunt-dom-munger copied to clipboard
Grunt task to read and manipulate HTML with CSS selectors.
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...
Hi there, great plugin, think I found an issue though. Let me know if there's a better way to do this but I have a situation where I have to...
Inspired by issue #2 https://github.com/cgross/grunt-dom-munger/issues/2
Cheerio exposes an option "xmlMode: true", which should be used to distinguish between writing out HTML ( $.html() ) and XML ( $.xml() ). Therefore, in method processFile: ``` javascript...
Just the small addition of xmlMode/$.xml as mentioned in issue 4.
I tried to merge in just about every outstanding fork, but gave up on @jcdarwin cuz he just refactored the entire engine and I don't have _THAT_ much energy. Also,...
- also adds extracted source file and dest as arguments to 'callback' This addition has proven useful in my current project, so thought I'd return the love. Thanks for writing...
This way people can use DOM that will eventually be removed as a selector BEFORE it's gone.
This is more a RFC cuz I'm not 100% sure this is necessary. What do you think about adding a `replace`, `after` and `before` options? The reason is because we...
It would be very useful to filter the text retrieved during read operations by passing a function to be called each time text is extracted. My use-case is such that...