Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing meta charset in html #155

Open
Canadadry opened this issue Oct 22, 2021 · 0 comments
Open

Missing meta charset in html #155

Canadadry opened this issue Oct 22, 2021 · 0 comments

Comments

@Canadadry
Copy link

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
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant