We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using gulp-cheerio to edit a PhoneGap config.xml file at build time. Self-closing elements such as
<icon src="icon.png"/>
get transformed into
<icon src="icon.png"></icon>
This is because gulp-cheerio outputs to the file using $.html() (index.js line 25) instead of $.xml() which keeps the self-closing tags.
A similar bug was filed against this grunt plugin cgross/grunt-dom-munger#4
The text was updated successfully, but these errors were encountered:
I believe this was fixed but never closed: https://github.com/KenPowers/gulp-cheerio/blob/master/lib/index.js#L25
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I am using gulp-cheerio to edit a PhoneGap config.xml file at build time. Self-closing elements such as
<icon src="icon.png"/>
get transformed into
<icon src="icon.png"></icon>
This is because gulp-cheerio outputs to the file using$.html() (index.js line 25) instead of $ .xml() which keeps the self-closing tags.
A similar bug was filed against this grunt plugin cgross/grunt-dom-munger#4
The text was updated successfully, but these errors were encountered: