On Wed, Dec 14, 2016 at 6:18 PM, 'Rupert Smith' via Elm Discuss <
elm-discuss@googlegroups.com> wrote:
> Html.node "meta"
> [ attribute "charset" "utf-8" ]
> []
>
> Outputs <meta></meta> with no attributes. Could be a bug in the
> elm-server-side-renderer code though.
>
> I just check this in http://elm-lang.org/try and it works as expected.
here is the code I used:
import Html exposing (..)
import Html.Attributes exposing (attribute)
main =
node "html" []
[node "meta"
[ attribute "charset" "utf-8" ]
[]
, node "body" []
[div [] [text "hello"]]
]
--
There is NO FATE, we are the creators.
blog: http://damoc.ro/
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.