mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Rename replaceUrl to replaceUrls
This commit is contained in:
parent
0e01ecb001
commit
9e413e1f8c
7 changed files with 11 additions and 11 deletions
|
|
@ -33,7 +33,7 @@ Twitter feed for: ${desc}. Generated by ${cfg.hostname}
|
|||
#proc renderRssTweet(tweet: Tweet; prefs: Prefs; cfg: Config): string =
|
||||
#let tweet = tweet.retweet.get(tweet)
|
||||
#let urlPrefix = getUrlPrefix(cfg)
|
||||
#let text = replaceUrl(tweet.text, prefs, absolute=urlPrefix)
|
||||
#let text = replaceUrls(tweet.text, prefs, absolute=urlPrefix)
|
||||
#if tweet.quote.isSome and get(tweet.quote).available:
|
||||
# let quoteLink = getLink(get(tweet.quote))
|
||||
<p>${text}<br><a href="${urlPrefix}${quoteLink}">${cfg.hostname}${quoteLink}</a></p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue