1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-04-14 17:52:14 -04:00

Support bidirectional text

Fixes #76
This commit is contained in:
Zed
2019-10-18 00:54:22 +02:00
parent d52769009b
commit ff359a3fc8
4 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,8 @@ proc renderProfileCard*(profile: Profile; prefs: Prefs): VNode =
tdiv(class="profile-card-extra"):
if profile.bio.len > 0:
tdiv(class="profile-bio"):
p: verbatim replaceUrl(profile.bio, prefs)
p(dir="auto"):
verbatim replaceUrl(profile.bio, prefs)
if profile.location.len > 0:
tdiv(class="profile-location"):