Skip to content

Commit

Permalink
Use dangerouslySetInnerHTML to set a literal  
Browse files Browse the repository at this point in the history
  • Loading branch information
cdepillabout committed Aug 25, 2020
1 parent 96a0f01 commit 4c5f84f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/App.purs
Expand Up @@ -205,7 +205,11 @@ makeInputWithLabel =
{ htmlFor: id
, children: children
}
, R.text " "
, R.span
{ dangerouslySetInnerHTML:
{ __html: " "
}
}
, R.input
{ id
, onChange: capture targetValue onInputChange
Expand Down

0 comments on commit 4c5f84f

Please sign in to comment.