mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
parent
13bdd6497b
commit
82fe5d8b78
3 changed files with 13 additions and 1 deletions
|
|
@ -299,7 +299,11 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
|
|||
(tweet.reply.len > 1 or tweet.reply[0] != tweet.profile.username):
|
||||
renderReply(tweet)
|
||||
|
||||
tdiv(class="tweet-content media-body", dir="auto"):
|
||||
var tweetClass = "tweet-content media-body"
|
||||
if prefs.bidiSupport:
|
||||
tweetClass &= " tweet-bidi"
|
||||
|
||||
tdiv(class=tweetClass, dir="auto"):
|
||||
verbatim replaceUrl(tweet.text, prefs) & renderLocation(tweet)
|
||||
|
||||
if tweet.attribution.isSome:
|
||||
|
|
|
|||
Loading…
Reference in a new issue