Comments (6)
It has to do with the Cheerio library used. @kball has a PR pending that should resolve it #37
Still needs a few tweeks to get it across the line if you have suggestions.
from inky.
@redayoub I didn't. Still waiting for some suggestions from devs.
Right now I just added to context already final values and I am not calling anything that requires arguments.
from inky.
Possible idea:
Update gulpfile.babel.js
// Compile layouts, pages, and partials into flat HTML files
// Then parse using Inky templates
function pages() {
return gulp.src('src/pages/**/*.html')
.pipe(panini({
root: 'src/pages',
layouts: 'src/layouts',
partials: 'src/partials',
helpers: 'src/helpers'
}))
.pipe(inky({
cheerio: {
decodeEntities: false
}
}))
.pipe(gulp.dest('dist'));
}
The issue is that now this converts the affected characters twice. There's something in the middle that it's not working.
https://github.com/fb55/htmlparser2/wiki/Parser-options#option-decodeentities
from inky.
I'm having the same problem, did you found a solution for that ?
from inky.
+1
from inky.
I just tested recent inky
version and can confirm this bug was fixed (PR #57).
Now decodeEntities
is by default false.
Thanks.
from inky.
Related Issues (20)
- Spacer not working - outlook does not recognize px on td HOT 1
- <th> vs <td> in rows
- failing CI
- <raw> tags don't support multi-line html HOT 4
- Button custom attributes not retained HOT 1
- Source Ordering in Inky - Is It Possible? HOT 1
- Responsive Spacers break after running build
- Slinky playground not producing output from CodePen HOT 3
- Unable to use inky programmatic mode in web.
- Vulnerability in vinyl-fs used version HOT 4
- ‍ appending after each row HOT 1
- update CI setup HOT 1
- Npm audit issues with cheerio package in inky HOT 1
- RFC 2822 - 1000 characters limit per line - Inky removes line breaks before tags
- Link of site on github is down
- Regression: <spacer> no longer including extra attributes
- `<h-line>` should output a `<tbody>`
- `<h-line>` stops all further output
- Passing inline styles down from an Inky component causes sass styles to be overwritten
- if condition on html with less than condition
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 inky.