From ec5bee8daeea413922ffce2a7ffd750674088618 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 26 Aug 2021 15:20:42 +0300 Subject: ActivityPub: reduce newlines in note template to make Mastodon happy --- src/main/resources/templates/views/macros/tags.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/main/resources/templates/views') diff --git a/src/main/resources/templates/views/macros/tags.html b/src/main/resources/templates/views/macros/tags.html index c52847fc..d1b3fdea 100644 --- a/src/main/resources/templates/views/macros/tags.html +++ b/src/main/resources/templates/views/macros/tags.html @@ -1,11 +1,7 @@ {% macro tags(uname="", tagsList) %} -{% for tag in tagsList %} -{{ tag }} -{% endfor %} +{% for tag in tagsList %}{{ tag }}{% endfor %} {% endmacro %} {% macro allTags(baseUri, tagsList) %} -{% for tag in tagsList %} -#{{ tag }} -{% endfor %} +{% for tag in tagsList %}#{{ tag }}{% endfor %} {% endmacro %} \ No newline at end of file -- cgit v1.2.3