On Wednesday, December 14, 2016 at 5:16:45 PM UTC, Peter Damoc wrote:
>
>
>
> On Wed, Dec 14, 2016 at 6:18 PM, 'Rupert Smith' via Elm Discuss <
> elm-d...@googlegroups.com <javascript:>> 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.
>
Working with elm-server-side-renderer too, now that I pulled the latest
code from there.
The question of whether these things should be a part of Html is about
completeness, so it covers all of Html not just a subset. It is harder to
see any of them being usefull in client side apps, but perhaps they might
be. To come up with a contrived example, suppose I wrote an app to help
teach Html, I might want to make use of Html to render some Html example
which would then be escaped and pretty printed for the user.
Not such a big deal to write my own 'node' functions to cover them though.
I'll put it in its own pure Elm package so it can be shared.
--
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.