diff options
author | r <r@freesoftwareextremist.com> | 2023-09-08 17:55:29 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2023-09-08 18:11:07 +0000 |
commit | 8eec93e02861ff0d133d8ba5613e2dedbcee40a2 (patch) | |
tree | db2253006b0fca492f84c1ce2956eca79a65513d /templates/notification.tmpl | |
parent | 461908e0319f8fa43b93fbc500babea3ef44722f (diff) | |
download | bloat-8eec93e02861ff0d133d8ba5613e2dedbcee40a2.tar.gz bloat-8eec93e02861ff0d133d8ba5613e2dedbcee40a2.zip |
Trim leading and trailing white space from selectable text
Diffstat (limited to 'templates/notification.tmpl')
-rw-r--r-- | templates/notification.tmpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl index f62726b..f1336d3 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -28,13 +28,13 @@ </div> <div class="notification-follow"> <div class="notification-info-text"> - <bdi class="status-dname"> {{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} </bdi> + <bdi class="status-dname">{{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}}</bdi> <span class="notification-text"> followed you - <time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time> </span> </div> <div> - <a href="/user/{{.Account.ID}}"> <span class="status-uname"> @{{.Account.Acct}} </span> </a> + <a href="/user/{{.Account.ID}}"> <span class="status-uname">@{{.Account.Acct}}</span> </a> </div> </div> </div> @@ -48,13 +48,13 @@ </div> <div class="notification-follow"> <div class="notification-info-text"> - <bdi class="status-dname"> {{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} </bdi> + <bdi class="status-dname">{{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}}</bdi> <span class="notification-text"> wants to follow you - <time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time> </span> </div> <div> - <a href="/user/{{.Account.ID}}"> <span class="status-uname"> @{{.Account.Acct}} </span> </a> + <a href="/user/{{.Account.ID}}"><span class="status-uname">@{{.Account.Acct}}</span></a> </div> <form class="d-inline" action="/accept/{{.Account.ID}}" method="post" target="_self"> <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}"> @@ -79,7 +79,7 @@ <img class="status-profile-img" src="{{.Account.Avatar}}" title="@{{.Account.Acct}}" alt="avatar" height="48" /> </a> <a href="/user/{{.Account.ID}}"> - <span class="status-uname"> @{{.Account.Acct}} </span> + <span class="status-uname">@{{.Account.Acct}}</span> </a> <span class="notification-text"> retweeted your post - <time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time> @@ -93,7 +93,7 @@ <img class="status-profile-img" src="{{.Account.Avatar}}" title="@{{.Account.Acct}}" alt="avatar" height="48" /> </a> <a href="/user/{{.Account.ID}}"> - <span class="status-uname"> @{{.Account.Acct}} </span> + <span class="status-uname">@{{.Account.Acct}}</span> </a> <span class="notification-text"> liked your post - <time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time> @@ -107,7 +107,7 @@ <img class="status-profile-img" src="{{.Account.Avatar}}" title="@{{.Account.Acct}}" alt="avatar" height="48" /> </a> <a href="/user/{{.Account.ID}}"> - <span class="status-uname"> @{{.Account.Acct}} </span> + <span class="status-uname">@{{.Account.Acct}}</span> </a> <span class="notification-text"> {{.Type}} - <time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time> |