summaryrefslogtreecommitdiff
path: root/src/monoize.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-10 12:44:40 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-10 12:44:40 -0400
commit18c2f489867bf282c49346eb090b22e41ec5f67a (patch)
tree82f3cb492c30ab735fe779934eca0e58a1e6b461 /src/monoize.sml
parent998ec0f6506d8b7065fbe277c253188b38bcac7c (diff)
ListEdit demo, minus prose
Diffstat (limited to 'src/monoize.sml')
-rw-r--r--src/monoize.sml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/monoize.sml b/src/monoize.sml
index 57bf26e3..131bdf67 100644
--- a/src/monoize.sml
+++ b/src/monoize.sml
@@ -1954,9 +1954,9 @@ fun monoExp (env, st, fm) (all as (e, loc)) =
loc)), loc), fm)
end
| SOME (_, src, _) =>
- (strcat [str "<script type=\"text/javascript\">inp(\"input\",",
+ (strcat [str "<span><script type=\"text/javascript\">inp(\"input\",",
(L'.EJavaScript (L'.Script, src, NONE), loc),
- str ")</script>"],
+ str ")</script></span>"],
fm))
| _ => (Print.prefaces "Targs" (map (fn t => ("T", CorePrint.p_con env t)) targs);
raise Fail "No name passed to textbox tag"))
@@ -2030,9 +2030,9 @@ fun monoExp (env, st, fm) (all as (e, loc)) =
str ")"]
val sc = setAttrs sc
in
- (strcat [str "<script type=\"text/javascript\">",
+ (strcat [str "<span><script type=\"text/javascript\">",
sc,
- str "</script>"],
+ str "</script></span>"],
fm)
end)