This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "heist".
The branch, master has been updated
via 702c743fca8b39ddd0b8a010eacf6da2fde60ba7 (commit)
from b18dd115206b1e30e638794e7e75daba029ef3fc (commit)
Summary of changes:
src/Text/Templating/Heist/Splices/Html.hs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 702c743fca8b39ddd0b8a010eacf6da2fde60ba7
Author: Mighty Byte <[email protected]>
Date: Wed Apr 13 21:35:45 2011 -0400
Fixed the performance problems in the html splice.
diff --git a/src/Text/Templating/Heist/Splices/Html.hs
b/src/Text/Templating/Heist/Splices/Html.hs
index 95688e8..6dbbe7a 100644
--- a/src/Text/Templating/Heist/Splices/Html.hs
+++ b/src/Text/Templating/Heist/Splices/Html.hs
@@ -27,8 +27,9 @@ htmlImpl = do
children <- runNodeList $ X.childNodes node
let (heads, mnode) = extractHeads $ node { X.elementChildren = children }
new (X.Element t a c) = X.Element t a $
- X.Element "head" [] (nub heads) : c
+ X.Element "head" [] heads : c
new n = n
+ stopRecursion
return [maybe node new mnode]
------------------------------------------------------------------------------
-----------------------------------------------------------------------
hooks/post-receive
--
heist
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap