-
Notifications
You must be signed in to change notification settings - Fork 667
Description
I was documenting how to set up ports for the soon-to-be-published billstclair/elm-websocket-client
package, when I ran into this.
mkdir script-tag-bug
cd script-tag-bug
elm init
echo " <script type='text/javascript' src='index.js'></script>" >README.md
elm reactor
Aim your browser at http://localhost:8000
My browser displays this:
\n", "project": { "type": "application", "source-directories": [ "src" ], "elm-version": "0.19.0", "dependencies": { "direct": { "elm/browser": "1.0.0", "elm/core": "1.0.0", "elm/html": "1.0.0" }, "indirect": { "elm/json": "1.0.0", "elm/time": "1.0.0", "elm/url": "1.0.0", "elm/virtual-dom": "1.0.0" } }, "test-dependencies": { "direct": {}, "indirect": {} } }, "exactDeps": { "elm/browser": "1.0.0", "elm/core": "1.0.0", "elm/html": "1.0.0", "elm/json": "1.0.0", "elm/time": "1.0.0", "elm/url": "1.0.0", "elm/virtual-dom": "1.0.0" } } });
Note that the <script>
tag is indented by four spaces, meaning I expect it to be quoted code, rendered with a <pre>
tag, or similar.