Closed mrmurphy closed 8 years ago
Ah, that's something hadn't considered, which would need some parsing to do properly. For now, I'm using
div [ attribute "style" "background-color: red;" ]
[]
which should at least compile
I've opened https://github.com/mbylstra/html-to-elm/issues/6 to address an alternative where the style function is used.
Sounds good, thanks!
Inline styles aren't currently formatted properly.
Input:
Current output
Expected output
Thanks!