Skip to content

Missing meta charset in html #155

@Canadadry

Description

@Canadadry

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
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions