on master help sign in
Turn off markdown interpolation for now.

This will of course get turned back on! I don’t want to do it in the very next release though.

commit4452e4e13831ca4a32544d9fd594640a47777f98 authorEvan Czaplicki <info@elm-lang.org> dateTue 10 Dec 2013, 22:17 (13 years ago) parentd12a744
2 files changed+2−10
compiler/Parse/Expression.hs+1−1 libraries/Native/Text.js+1−9
compiler/Parse/Expression.hs+1−1
@@ -60,7 +60,7 @@ listTerm = markdown' <|> braces (try range <|> ExplicitList <$> commaSep expr)
6060 return (Markdown uid (filter (/='\r') rawText) exprs)
6161
6262 span uid index =
63− "<span id=\"md-" ++ uid ++ "-" ++ show index ++ "\"></span>"
63+ "<span id=\"md-" ++ uid ++ "-" ++ show index ++ "\">{{ markdown interpolation is in the pipeline, but still needs more testing }}</span>"
6464
6565 interpolation uid md exprs = do
6666 try (string "{{")
libraries/Native/Text.js+1−9
@@ -107,15 +107,7 @@ Elm.Native.Text.make = function(elm) {
107107 ctor:'RawHtml',
108108 html: text,
109109 guid: guid,
110− args: Array.prototype.slice.call(arguments, 2).map(function(arg) {
111− if (arg.props && arg.element) {
112− arg.isElement = true;
113− return arg;
114− } else if (!arg.isText) {
115− return Utils.txt('<code>' + show(arg) + '</code>');
116− }
117− return arg;
118− }),
110+ args: [],
119111 };
120112 var pos = A2(Utils.htmlHeight, 0, raw);
121113 return A3(Element.newElement, pos._0, pos._1, raw);