diff --git a/lib/hyperscript/parser.sx b/lib/hyperscript/parser.sx index eba498cd..6ac177e7 100644 --- a/lib/hyperscript/parser.sx +++ b/lib/hyperscript/parser.sx @@ -63,6 +63,7 @@ (let ((prop (get (adv!) "value"))) (parse-prop-chain (list (quote .) owner prop)))) + ((= typ "style") (do (adv!) (list (quote style) val owner))) (true owner))))) (define parse-prop-chain diff --git a/shared/static/wasm/sx/hs-parser.sx b/shared/static/wasm/sx/hs-parser.sx index eba498cd..6ac177e7 100644 --- a/shared/static/wasm/sx/hs-parser.sx +++ b/shared/static/wasm/sx/hs-parser.sx @@ -63,6 +63,7 @@ (let ((prop (get (adv!) "value"))) (parse-prop-chain (list (quote .) owner prop)))) + ((= typ "style") (do (adv!) (list (quote style) val owner))) (true owner))))) (define parse-prop-chain