aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/layouts
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-08-26 15:20:42 +0300
committerGravatar Vitaly Takmazov2021-08-26 15:20:42 +0300
commitec5bee8daeea413922ffce2a7ffd750674088618 (patch)
treebc65baa40660aba8e33a1e210c591edfa97c18c5 /src/main/resources/templates/layouts
parent810ea1a4b403bc000dad59da3a86e16854358e2b (diff)
ActivityPub: reduce newlines in note template to make Mastodon happy
Diffstat (limited to 'src/main/resources/templates/layouts')
-rw-r--r--src/main/resources/templates/layouts/note.html6
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