1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-01-24 20:32:49 -05:00

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.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)