1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Remove extra spaces and multiple spaces

This commit is contained in:
Alan Ye 2024-04-14 11:50:37 +08:00 committed by GitHub
parent 9925e97e46
commit ae71b7b379
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
- content_for :page_title do
display_name(@account).gsub(/:\w+:/, '') + " (#{acct(@account)})"
"#{display_name(@account).gsub(/:\w+:/, '').strip} (#{acct(@account)})".gsub(/\s+/, ' ')
- content_for :header_tags do
- if @account.user_prefers_noindex?