Closed nha closed 5 years ago
Server-side rendering example: clj code: (def garden-css {:font-family "\"Helvetica Neue\""})
(def garden-css {:font-family "\"Helvetica Neue\""})
ends up being rendered on the sever as: font-family: "Helvetica Neue" which is invalid.
font-family: "Helvetica Neue"
The above clj works fine on the client, however the client escapes the single-quote version:
{:font-family "'Helvetica Neue'"}
'
Fixed in Beta 5.
Will accept a PR against the fulcro 2 branch to back port if anyone cares to do it.
Server-side rendering example: clj code:
(def garden-css {:font-family "\"Helvetica Neue\""})
ends up being rendered on the sever as:
font-family: "Helvetica Neue"
which is invalid.The above clj works fine on the client, however the client escapes the single-quote version:
{:font-family "'Helvetica Neue'"}
'