Comments (2)
is it intended to have to call .toString() ?
only if you want to see the result because otherwise it's a buffer, not a string.
It looks like last changes introduced greedy trim. Mind if I ask why you want the spaces?
P.S. last use case is expected for now, but good point, I should invalidate all the known templates when adoptable changes.
from viperhtml.
P.S. it's fixed
from viperhtml.
Related Issues (20)
- An in-range update of hyperhtml is breaking the build 🚨 HOT 7
- An in-range update of hyperhtml is breaking the build 🚨 HOT 4
- An in-range update of uglify-js is breaking the build 🚨 HOT 9
- An in-range update of csso is breaking the build 🚨 HOT 1
- Non adoptable <textarea> / <style> HOT 4
- Style attributes not rendered when values are set programmatically HOT 10
- Make it worker friendly HOT 10
- viperHTML doesn’t close `<abbr>` elements HOT 1
- Missing chunks/closing tags HOT 1
- Render templates which are read as string from file. HOT 3
- Feature parity and partial attributes HOT 6
- (Feature parity) Trim whitespaces HOT 1
- (Feature parity) Ignore null/undefined value for attributes HOT 1
- Slash gets special meaning outside of interpolation HOT 4
- Website with REPL? HOT 2
- Patterns for Components HOT 3
- HTML turns up as String HOT 8
- viperHTML doesn't seem to preserve white space HOT 3
- updates[(i - 1)] is not a function HOT 2
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 viperhtml.