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 "snap-core".
The branch, master has been updated
via 8f22bc9d23f8190fc183be67ff8c5f5030c8b9f9 (commit)
from 064c895639a23f3bbb7834421554dbdedd31a480 (commit)
Summary of changes:
project_template/default/src/Common.hs | 2 +-
1 files changed, 1 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 8f22bc9d23f8190fc183be67ff8c5f5030c8b9f9
Author: Mighty Byte <[email protected]>
Date: Thu Jun 10 09:46:35 2010 -0400
Specify charset in content type.
diff --git a/project_template/default/src/Common.hs
b/project_template/default/src/Common.hs
index 1df3d36..7235693 100644
--- a/project_template/default/src/Common.hs
+++ b/project_template/default/src/Common.hs
@@ -66,7 +66,7 @@ templateServe :: TemplateState Snap
-> Snap ()
templateServe orig tsMVar staticState = do
p
- modifyResponse $ setContentType "text/html"
+ modifyResponse $ setContentType "text/html; charset=utf-8"
where
p = ifTop (renderTmpl tsMVar "index") <|>
-----------------------------------------------------------------------
hooks/post-receive
--
snap-core
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap