on master help sign in
Properly escape newlines in Markdown, and add more info to changelog
a66396cevancz
elm/changelog.txt+4
@@ -20,6 +20,10 @@ efficiency improvements. I am really excited about this release!
20
20
21* Add `--minify` flag, to minify JS code.
21* Add `--minify` flag, to minify JS code.
22
22
23+* Significantly improve performance of pattern matching.
24+
25+
26+
23Release 0.3.6
27Release 0.3.6
24=============
28=============
25
29
elm/src/Gen/CompileToJS.hs+1−1
@@ -148,7 +148,7 @@ toJS' expr =
148
148
149formatMarkdown = concatMap f
149formatMarkdown = concatMap f
150 where f '\'' = "\\'"
150 where f '\'' = "\\'"
151− f '\n' = ""
151+ f '\n' = "\\n"
152 f '"' = "\""
152 f '"' = "\""
153 f c = [c]
153 f c = [c]
154
154