-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
In the editable html part below the elm code there is no <meta charset="utf-8">
in the head.
So when copy pasting code outside of Ellie, you have to know you cannot use the html like that or the encoding will not work properly.
This is no an easy catch for beginner.
Use this to reproduce the behavior
module Main exposing (main)
import Browser
import Html exposing (Html, text)
import Html.Events exposing (onClick)
update : msg -> String -> String
update msg model =
model
view : String -> Html msg
view model =
text model
main : Program () String msg
main =
Browser.sandbox
{ init = "école"
, view = view
, update = update
}
aminnairi
Metadata
Metadata
Assignees
Labels
No labels