mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 04:39:21 +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>
|
||||||
<div class="status-dname">{{EmojiFilter (HTML .DisplayName) .Emojis | Raw}}</div>
|
<div class="status-dname">{{EmojiFilter (HTML .DisplayName) .Emojis | Raw}}</div>
|
||||||
<a class="img-link" href="/user/{{.ID}}">
|
<a class="img-link" href="/user/{{.ID}}">
|
||||||
<div class="status-uname"> @{{.Acct}} </div>
|
<div class="status-uname">{{.Acct}}</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self">
|
<form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self">
|
||||||
|
|
|
@ -92,8 +92,8 @@
|
||||||
</div>
|
</div>
|
||||||
{{if (or .Content .SpoilerText)}}
|
{{if (or .Content .SpoilerText)}}
|
||||||
<div class="status-content">
|
<div class="status-content">
|
||||||
{{if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}<br/>{{end}}
|
{{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}<br/>{{end -}}
|
||||||
{{StatusContentFilter .Content .Emojis .Mentions | Raw}}
|
{{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .MediaAttachments}}
|
{{if .MediaAttachments}}
|
||||||
|
|
|
@ -119,12 +119,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-profile-decription">
|
<div class="user-profile-decription">
|
||||||
{{EmojiFilter .User.Note .User.Emojis | Raw}}
|
{{- EmojiFilter .User.Note .User.Emojis | Raw -}}
|
||||||
</div>
|
</div>
|
||||||
{{if .User.Fields}}
|
{{if .User.Fields}}
|
||||||
<div class="user-fields">
|
<div class="user-fields">
|
||||||
{{range .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}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue