From 92c7c80fbc78087e519ee0ae4cc603d3f421310c Mon Sep 17 00:00:00 2001 From: Pierre Date: Mon, 14 May 2018 17:04:21 +0200 Subject: [PATCH] Fix space issue --- assets/js/components/textParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/textParser.js b/assets/js/components/textParser.js index 2905cbc7..1b3850d3 100644 --- a/assets/js/components/textParser.js +++ b/assets/js/components/textParser.js @@ -49,7 +49,7 @@ ComunicWeb.components.textParser = { var userTag = target.innerHTML.match(/ @[a-zA-Z0-9.]+/i)[0]; var userID = userTag.replace(" @", ""); - target.innerHTML = target.innerHTML.replace(userTag, ""+userID+""); + target.innerHTML = target.innerHTML.replace(userTag, " "+userID+""); }