From e673edb871b338a419f37add7e119d2fea149ef5 Mon Sep 17 00:00:00 2001 From: Nicolas Perriault Date: Wed, 3 May 2017 08:25:47 +0200 Subject: [PATCH] Fix non-working non-breakable space replacements. --- src/View/Formatter.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/View/Formatter.elm b/src/View/Formatter.elm index 1f0570a..3234554 100644 --- a/src/View/Formatter.elm +++ b/src/View/Formatter.elm @@ -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