Skip to content

Commit

Permalink
removed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
LainLayer committed Jan 24, 2022
1 parent e4f6347 commit d56628e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parserutils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d56628e

Please sign in to comment.