diff --git a/test/sablono/core_test.cljs b/test/sablono/core_test.cljs index 1edab11..8d0aad5 100644 --- a/test/sablono/core_test.cljs +++ b/test/sablono/core_test.cljs @@ -1315,3 +1315,10 @@ :attributes {:style "margin-left:2rem;"} :content []})))) + +(deftest test-issue-160 + (let [k :data-foo] + (is (= (html-data [:div {k "bar"}]) + {:tag :div + :attributes {:data-foo "bar"} + :content []}))))