on master help sign in
Turn off markdown interpolation for now.
4452e4eEvan Czaplicki
compiler/Parse/Expression.hs+1−1
@@ -60,7 +60,7 @@ listTerm = markdown' <|> braces (try range <|> ExplicitList <$> commaSep expr)
60 return (Markdown uid (filter (/='\r') rawText) exprs)
60 return (Markdown uid (filter (/='\r') rawText) exprs)
61
61
62 span uid index =
62 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>"
64
64
65 interpolation uid md exprs = do
65 interpolation uid md exprs = do
66 try (string "{{")
66 try (string "{{")
libraries/Native/Text.js+1−9
@@ -107,15 +107,7 @@ Elm.Native.Text.make = function(elm) {
107 ctor:'RawHtml',
107 ctor:'RawHtml',
108 html: text,
108 html: text,
109 guid: guid,
109 guid: guid,
110− args: Array.prototype.slice.call(arguments, 2).map(function(arg) {
110+ args: [],
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− }),
119 };
111 };
120 var pos = A2(Utils.htmlHeight, 0, raw);
112 var pos = A2(Utils.htmlHeight, 0, raw);
121 return A3(Element.newElement, pos._0, pos._1, raw);
113 return A3(Element.newElement, pos._0, pos._1, raw);