mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.41k stars 411 forks source link

In Elm multiple dots do not generate spaces for classes #382

Closed nthhhhhhh closed 7 years ago

nthhhhhhh commented 7 years ago

Within HTML I tested

div.myClass1.myClass2

producing the correct behavior: <div class="myClass1 myClass2"></div>

Though in Elm, using the same syntax

div.myClass1.myClass2

produces: div [ class "myClass1.myClass2" ] []

where I expected div [ class "myClass1 myClass2" ] []

I also tried emmet's custom attribute syntax

div [class="myClass1 myClass2"]

which then generates the same elm code as above: div [ class "myClass1.myClass2" ] []

Thanks.

bushman77 commented 6 years ago

div [ Html.Attributes.class "class1 class2" ] [ text "content" ]