diff options
author | Vitaly Takmazov | 2021-08-26 15:20:42 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-08-26 15:20:42 +0300 |
commit | ec5bee8daeea413922ffce2a7ffd750674088618 (patch) | |
tree | bc65baa40660aba8e33a1e210c591edfa97c18c5 /src/main/resources/templates/layouts/note.html | |
parent | 810ea1a4b403bc000dad59da3a86e16854358e2b (diff) |
ActivityPub: reduce newlines in note template to make Mastodon happy
Diffstat (limited to 'src/main/resources/templates/layouts/note.html')
-rw-r--r-- | src/main/resources/templates/layouts/note.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/resources/templates/layouts/note.html b/src/main/resources/templates/layouts/note.html index e832dc63..e22d76d5 100644 --- a/src/main/resources/templates/layouts/note.html +++ b/src/main/resources/templates/layouts/note.html @@ -1,5 +1 @@ -{% import "views/macros/tags" %} -<p>{{ msg | formatMessage }}</p> -{% if msg.tags | length > 0 %} -<div class="msg-tags">{{ allTags(baseUri, msg.tags | tagsList) }}</div> -{% endif %}
\ No newline at end of file +{% import "views/macros/tags" %}<p>{{ msg | formatMessage }}</p>{% if msg.tags | length > 0 %}<div class="msg-tags">{{ allTags(baseUri, msg.tags | tagsList) }}</div>{% endif %}
\ No newline at end of file |