From 0eee402a615c957f006c01d0424dae45713a9376 Mon Sep 17 00:00:00 2001 From: Sergey Mironov Date: Fri, 6 Dec 2013 14:52:47 +0400 Subject: activeHead: don't modify the head. just execute the code provided --- lib/ur/basis.urs | 2 +- src/monoize.sml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 7637f8fa..66e65804 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -783,7 +783,7 @@ val active : unit -> tag [Code = transaction xbody] body [] [] [] val activeHead : unit - -> tag [Code = transaction xhead] head [] [] [] + -> tag [Code = transaction unit] head [] [] [] val head : unit -> tag [] html head [] [] val title : unit -> tag [] head [] [] [] diff --git a/src/monoize.sml b/src/monoize.sml index 8889937e..d382194f 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -3604,9 +3604,9 @@ fun monoExp (env, st, fm) (all as (e, loc)) = (case attrs of [("Code", e, _)] => ((L'.EStrcat - ((L'.EPrim (Prim.String ("")), loc)), loc)), loc), + (L'.EPrim (Prim.String (")")), loc)), loc)), loc), fm) | _ => raise Fail "Monoize: Bad attributes") -- cgit v1.2.3