removed spaces

This commit is contained in:
Mitarashi 2022-01-24 21:55:14 +02:00
parent e4f634705b
commit d56628ed2f
1 changed files with 1 additions and 1 deletions

View File

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