Rename replaceUrl to replaceUrls

This commit is contained in:
Zed
2021-12-27 02:27:49 +01:00
parent 0e01ecb001
commit 9e413e1f8c
7 changed files with 11 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ proc renderProfileCard*(profile: Profile; prefs: Prefs): VNode =
if profile.bio.len > 0:
tdiv(class="profile-bio"):
p(dir="auto"):
verbatim replaceUrl(profile.bio, prefs)
verbatim replaceUrls(profile.bio, prefs)
if profile.location.len > 0:
tdiv(class="profile-location"):
@@ -45,7 +45,7 @@ proc renderProfileCard*(profile: Profile; prefs: Prefs): VNode =
if profile.website.len > 0:
tdiv(class="profile-website"):
span:
let url = replaceUrl(profile.website, prefs)
let url = replaceUrls(profile.website, prefs)
icon "link"
a(href=url): text shortLink(url)