diff options
author | r <r@freesoftwareextremist.com> | 2020-11-28 12:58:18 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-11-28 12:58:18 +0000 |
commit | b35d62ecbb96b6d5f83b0453ca16e8dc45b39657 (patch) | |
tree | 94d02d2d6e0687942bab8e6d2a288a8792097796 /templates/status.tmpl | |
parent | 8f5fbab8dc005698d0cf1ba0c8f6dc121afce198 (diff) | |
download | bloat-b35d62ecbb96b6d5f83b0453ca16e8dc45b39657.tar.gz bloat-b35d62ecbb96b6d5f83b0453ca16e8dc45b39657.zip |
Fix RTL display name rendering
Wrap all the inline display names in a <bdi> tag
Diffstat (limited to 'templates/status.tmpl')
-rw-r--r-- | templates/status.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl index 4cdb459..6071b2f 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -5,7 +5,7 @@ <a class="img-link" href="/user/{{.Account.ID}}"> <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="@{{.Account.Acct}}" alt="avatar" height="24" /> </a> - <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> + <bdi class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </bdi> <a href="/user/{{.Account.ID}}"> <span class="status-uname"> @{{.Account.Acct}} </span> </a> @@ -23,7 +23,7 @@ </div> <div class="status"> <div class="status-name"> - <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> + <bdi class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </bdi> <a href="/user/{{.Account.ID}}"> <span class="status-uname"> @{{.Account.Acct}} </span> </a> |