mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Fix space issue
This commit is contained in:
parent
701d070efd
commit
92c7c80fbc
@ -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, "<userTag>"+userID+"</userTag>");
|
||||
target.innerHTML = target.innerHTML.replace(userTag, " <userTag>"+userID+"</userTag>");
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user