* comment adding fixed

* JSON Encoding is broken in the current Hackage version of CouchDB, thus it is necessary to build it manually and to apply this fix:
fafd63a436
This commit is contained in:
"Vincent Ambo ext:(%22) 2012-03-07 13:40:47 +01:00
parent bc25b9d1e0
commit b2bb90beff
2 changed files with 11 additions and 1 deletions

View file

@ -14,7 +14,6 @@ import Text.Blaze.Html5 (Html, (!), a, form, input, p, toHtml, label)
import Text.Blaze.Html5.Attributes (action, enctype, href, name, size, type_, value)
import qualified Text.Blaze.Html5 as H
import qualified Text.Blaze.Html5.Attributes as A
import System.Locale (defaultTimeLocale)
import Locales
@ -40,9 +39,14 @@ data Entry = Entry{
blogText :: (a -> String) -> a -> Text
blogText f = T.pack . f
-- custom list functions
intersperse' :: a -> [a] -> [a]
intersperse' sep l = sep : intersperse sep l
replace :: Eq a => a -> a -> [a] -> [a]
replace x y = map (\z -> if z == x then y else z)
blogTemplate :: BlogLang -> Text -> Html -> Html
blogTemplate lang t_append body = H.docTypeHtml $ do --add body
H.head $ do