1
0
Fork 0

Fix non-working non-breakable space replacements.

This commit is contained in:
Nicolas Perriault 2017-05-03 08:25:47 +02:00
parent dc5ad2e670
commit e673edb871
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A
1 changed files with 3 additions and 3 deletions

View File

@ -16,9 +16,9 @@ import View.Events exposing (..)
formatContent : String -> List Mention -> List (Html Msg)
formatContent content mentions =
content
|> replace " ?" " ?"
|> replace " !" " !"
|> replace " :" " :"
|> replace " ?" " ?"
|> replace " !" " !"
|> replace " :" " :"
|> HtmlParser.parse
|> toVirtualDom mentions