Skip to content

Commit 8d3d50b

Browse files
committed
feat: handle additional props in propNameToAttrName -> add (related to purescript-halogen/purescript-halogen-vdom#41)
1 parent 48fcab8 commit 8d3d50b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Halogen/VDom/DOM/StringRenderer.purs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ propNameToAttrName ∷ String → String
3737
propNameToAttrName = case _ of
3838
"htmlFor""for"
3939
"className""class"
40+
"httpEquiv""http-equiv"
41+
"acceptCharset""accept-charset"
4042
p → p
4143

4244
renderProperty String PropValue Maybe String

0 commit comments

Comments
 (0)