Comments (3)
@macedigital; do you have any workaround about this?
from gulp-sri-hash.
@XhmikosR Yes, looks like the new parser in cheerio does that (see discussion regarding cheeriojs/cheerio#985, etc.).
I just released v1.7.0, which has all changes for the gulp-sri-hash 2.0 release, but still uses [email protected] as a dependency.
Regarding workaround: The old behavior can be achieved by explicitly configuring cheerio with cheerio.load(file.contents, { xmlMode: true })
;
Modifying parser configuration from the gulp-plugin isn't implemented yet, so better stick to v1.x for the moment.
from gulp-sri-hash.
Thanks, @macedigital!
from gulp-sri-hash.
Related Issues (15)
- Version 10 of node.js has been released HOT 1
- Changes my HTML tags and rewrites them HOT 3
- Gulp dependency HOT 8
- Paths for scripts should use `path.posix` HOT 5
- Tests on path resolution fail HOT 5
- gulp-sri-hash (unnecessarily) escapes unicode characters HOT 2
- An in-range update of eslint is breaking the build 🚨 HOT 2
- Hash external resources HOT 3
- Add `crossorigin="anonymous"` HOT 1
- gulp-sri-hash with gulp-sourcemaps
- An in-range update of eslint-config-airbnb-base is breaking the build 🚨 HOT 1
- Wrong sha512 calculation(?) HOT 3
- Relative path resolution on Windows fails HOT 5
- Ignore cache busting hash in URL HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-sri-hash.