From 02d3b702aa5f351a708b7950cd16befd3f9e45c5 Mon Sep 17 00:00:00 2001 From: Felipe Lessa Date: Fri, 2 Mar 2012 17:32:00 -0300 Subject: [PATCH] Small doc fix on Yesod.Form.Fields.Textarea. --- yesod-form/Yesod/Form/Fields.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-form/Yesod/Form/Fields.hs b/yesod-form/Yesod/Form/Fields.hs index e9416de0..167b9b9d 100644 --- a/yesod-form/Yesod/Form/Fields.hs +++ b/yesod-form/Yesod/Form/Fields.hs @@ -173,7 +173,7 @@ htmlField = Field } where showVal = either id (pack . renderHtml) --- | A newtype wrapper around a 'String' that converts newlines to HTML +-- | A newtype wrapper around a 'Text' that converts newlines to HTML -- br-tags. newtype Textarea = Textarea { unTextarea :: Text } deriving (Show, Read, Eq, PersistField)