Small doc fix on Yesod.Form.Fields.Textarea.
This commit is contained in:
parent
4d4a1a7fec
commit
02d3b702aa
@ -173,7 +173,7 @@ htmlField = Field
|
|||||||
}
|
}
|
||||||
where showVal = either id (pack . renderHtml)
|
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.
|
-- br-tags.
|
||||||
newtype Textarea = Textarea { unTextarea :: Text }
|
newtype Textarea = Textarea { unTextarea :: Text }
|
||||||
deriving (Show, Read, Eq, PersistField)
|
deriving (Show, Read, Eq, PersistField)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user