-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
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
CSS property setting syntax does not permit the use of a colon (:) in the assigned value. #3886
Comments
The semi-colon is also superfluous. |
Right, we need to encode as a CSS string: https://developer.mozilla.org/en-US/docs/Web/CSS/string |
This also applies to html attributes. |
I am unable to discern how my examples fail here? |
(The semicolon being inserted here is expected as a separator of multiple style rules.) The bug here is in our parsing rules .. the colon is confusing our regex. Similar things happen with an equals |
Renderer
v3
Browser
Chrome
Operating System
Windows
What happened?
In writing a how-to I discovered I was unable to assign a string value to a CSS property if it contained a
:
via the{{}}
style setting syntax.Code
Generates
Instead of
The text was updated successfully, but these errors were encountered: