removed spaces

This commit is contained in:
Mitarashi 2022-01-24 21:55:14 +02:00
parent e4f634705b
commit d56628ed2f

View file

@ -210,7 +210,7 @@ proc expandUserEntities*(user: var User; js: JsonNode) =
replacements.deduplicate
replacements.sort(cmp)
user.bio = orig.replacedWith(replacements, 0 .. orig.len)
user.bio = user.bio.replacef(unRegex, unReplace)
.replacef(htRegex, htReplace)