inline-css: When there's interpolated variables, the templates break
Hey, we’re a SF company and we use your library, we’re pretty happy with it keep up the good work!
There’s something we noticed:
When there’s an interpolated variable like <p class="paragraph" style="background: {{color}]>hello</p>, the styles from the class won’t be part of the style attribute, and also this breaks the inline styles of other <p> tags in the same template, they don’t get the styles either.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (10 by maintainers)
New version is out with this feature 7cdc0dd7f6df9516f488d1858703bff79a6e7478.
Here’s the updated docs on how to use it.
https://github.com/jonkemp/inline-css#optionscodeblocks
Closing.
I agree, this is probably a feature request, and yes that was a typo