Fix non-working non-breakable space replacements.
This commit is contained in:
parent
dc5ad2e670
commit
e673edb871
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user