mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-14 08:49:23 +02:00
Trim leading and trailing white space from selectable text
This commit is contained in:
parent
461908e031
commit
8eec93e028
|
@ -11,7 +11,7 @@
|
|||
<div>
|
||||
<div class="status-dname">{{EmojiFilter (HTML .DisplayName) .Emojis | Raw}}</div>
|
||||
<a class="img-link" href="/user/{{.ID}}">
|
||||
<div class="status-uname"> @{{.Acct}} </div>
|
||||
<div class="status-uname">{{.Acct}}</div>
|
||||
</a>
|
||||
</div>
|
||||
<form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self">
|
||||
|
|
|
@ -92,8 +92,8 @@
|
|||
</div>
|
||||
{{if (or .Content .SpoilerText)}}
|
||||
<div class="status-content">
|
||||
{{if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}<br/>{{end}}
|
||||
{{StatusContentFilter .Content .Emojis .Mentions | Raw}}
|
||||
{{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}<br/>{{end -}}
|
||||
{{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .MediaAttachments}}
|
||||
|
|
|
@ -119,12 +119,12 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="user-profile-decription">
|
||||
{{EmojiFilter .User.Note .User.Emojis | Raw}}
|
||||
{{- EmojiFilter .User.Note .User.Emojis | Raw -}}
|
||||
</div>
|
||||
{{if .User.Fields}}
|
||||
<div class="user-fields">
|
||||
{{range .User.Fields}}
|
||||
<div>{{EmojiFilter .Name $.Data.User.Emojis | Raw}} - {{EmojiFilter .Value $.Data.User.Emojis | Raw}}</div>
|
||||
<div>{{- EmojiFilter .Name $.Data.User.Emojis | Raw}} - {{EmojiFilter .Value $.Data.User.Emojis | Raw -}}</div>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue