diff --git a/lib/philomena_web/templates/admin/artist_link/index.html.heex b/lib/philomena_web/templates/admin/artist_link/index.html.heex
index 6b8097fd..9db7b6be 100644
--- a/lib/philomena_web/templates/admin/artist_link/index.html.heex
+++ b/lib/philomena_web/templates/admin/artist_link/index.html.heex
@@ -57,7 +57,7 @@
<%= if contacted?(link) do %>
by <%= link.contacted_by_user.name %>
-
( <%= pretty_time(link.contacted_at) %> )
+
(<%= pretty_time(link.contacted_at) %>)
<% end %>
diff --git a/lib/philomena_web/templates/admin/donation/user/index.html.heex b/lib/philomena_web/templates/admin/donation/user/index.html.heex
index 5442b79e..bd5ae2d9 100644
--- a/lib/philomena_web/templates/admin/donation/user/index.html.heex
+++ b/lib/philomena_web/templates/admin/donation/user/index.html.heex
@@ -1,6 +1,6 @@
- <%= @user.name %> 's Donations
+ <%= @user.name %>'s Donations
<%= render(PhilomenaWeb.Admin.DonationView, "_table.html", donations: @donations, conn: @conn) %>
diff --git a/lib/philomena_web/templates/advert/_box.html.heex b/lib/philomena_web/templates/advert/_box.html.heex
index f302c208..ed07aef5 100644
--- a/lib/philomena_web/templates/advert/_box.html.heex
+++ b/lib/philomena_web/templates/advert/_box.html.heex
@@ -7,7 +7,7 @@
- Derpibooru costs over $25 a day to operate - <%= link("help support us financially", to: "/pages/donations") %> !
+ Derpibooru costs over $25 a day to operate - <%= link("help support us financially", to: "/pages/donations") %>!
diff --git a/lib/philomena_web/templates/ban/_ban_reason.html.heex b/lib/philomena_web/templates/ban/_ban_reason.html.heex
index c3706bb5..a7416e07 100644
--- a/lib/philomena_web/templates/ban/_ban_reason.html.heex
+++ b/lib/philomena_web/templates/ban/_ban_reason.html.heex
@@ -3,13 +3,13 @@
You've been banned!
- You cannot create comments or posts or update metadata (or do anything but read, really) until <%= pretty_time(@conn.assigns.current_ban.valid_until) %> .
+ You cannot create comments or posts or update metadata (or do anything but read, really) until <%= pretty_time(@conn.assigns.current_ban.valid_until) %>.
The reason given by the administrator who banned you is:
<%= @conn.assigns.current_ban.reason %>
- (Ban ID: <%= @conn.assigns.current_ban.generated_ban_id %> ).
+ (Ban ID: <%= @conn.assigns.current_ban.generated_ban_id %>).
diff --git a/lib/philomena_web/templates/channel/_form.html.heex b/lib/philomena_web/templates/channel/_form.html.heex
index d7ac91e6..4fc79d3a 100644
--- a/lib/philomena_web/templates/channel/_form.html.heex
+++ b/lib/philomena_web/templates/channel/_form.html.heex
@@ -14,11 +14,7 @@
picarto_channel_name
- is
-
- picarto_channel_name
-
- .
+ is picarto_channel_name .
The short name of
@@ -28,11 +24,7 @@
piczel_channel_name
- is
-
- piczel_channel_name
-
- .
+ is piczel_channel_name .
diff --git a/lib/philomena_web/templates/comment/_comment.html.heex b/lib/philomena_web/templates/comment/_comment.html.heex
index 228980d1..22a480d2 100644
--- a/lib/philomena_web/templates/comment/_comment.html.heex
+++ b/lib/philomena_web/templates/comment/_comment.html.heex
@@ -43,7 +43,7 @@
<%= if can?(@conn, :hide, @comment) do %>
diff --git a/lib/philomena_web/templates/comment/_comment_with_image.html.heex b/lib/philomena_web/templates/comment/_comment_with_image.html.heex
index b7c64dac..576d2db6 100644
--- a/lib/philomena_web/templates/comment/_comment_with_image.html.heex
+++ b/lib/philomena_web/templates/comment/_comment_with_image.html.heex
@@ -16,7 +16,7 @@
<%= if can?(@conn, :hide, @comment) do %>
diff --git a/lib/philomena_web/templates/comment/index.html.heex b/lib/philomena_web/templates/comment/index.html.heex
index 8934719d..1e48166e 100644
--- a/lib/philomena_web/templates/comment/index.html.heex
+++ b/lib/philomena_web/templates/comment/index.html.heex
@@ -7,11 +7,7 @@
<%= submit("Search", class: "hform__button button") %>
<% end %>
@@ -52,31 +48,8 @@
Default search
- If you do not specify a field to search over, the search engine will
- search for comments with a body that is similar to the query's
-
- word stems
-
- . For example, comments containing the words
-
- winged humanization
-
- ,
-
- wings
-
- , and
-
- spread wings
-
- would all be found by a search for
-
- wing
-
- , but
-
- sewing
-
+ If you do not specify a field to search over, the search engine will search for comments with a body that is similar to the query's word stems. For example, comments containing the words winged humanization , wings , and spread wings
+ would all be found by a search for wing , but sewing
would not be.
diff --git a/lib/philomena_web/templates/commission/_directory_results.html.heex b/lib/philomena_web/templates/commission/_directory_results.html.heex
index a3d90051..22ef7056 100644
--- a/lib/philomena_web/templates/commission/_directory_results.html.heex
+++ b/lib/philomena_web/templates/commission/_directory_results.html.heex
@@ -37,7 +37,7 @@ pagination = render(PhilomenaWeb.PaginationView, "_pagination.html", page: @comm
Price Range:
- $ <%= Decimal.round(min.base_price, 2) |> Decimal.to_string() %> - $ <%= Decimal.round(max.base_price, 2) |> Decimal.to_string() %> USD
+ $<%= Decimal.round(min.base_price, 2) |> Decimal.to_string() %> - $<%= Decimal.round(max.base_price, 2) |> Decimal.to_string() %> USD
diff --git a/lib/philomena_web/templates/conversation/index.html.heex b/lib/philomena_web/templates/conversation/index.html.heex
index 0b7c98b1..67a11cbc 100644
--- a/lib/philomena_web/templates/conversation/index.html.heex
+++ b/lib/philomena_web/templates/conversation/index.html.heex
@@ -36,7 +36,7 @@ pagination = render(PhilomenaWeb.PaginationView, "_pagination.html", page: @conv
<%= link(c.title, to: ~p"/conversations/#{c}") %>
<%= count %>
- <%= pluralize("message", "messages", count) %> ; started <%= pretty_time(c.created_at) %> , last message <%= pretty_time(c.last_message_at) %>
+ <%= pluralize("message", "messages", count) %>; started <%= pretty_time(c.created_at) %>, last message <%= pretty_time(c.last_message_at) %>
|
diff --git a/lib/philomena_web/templates/dnp_entry/index.html.heex b/lib/philomena_web/templates/dnp_entry/index.html.heex
index 7b75a41d..3ce20529 100644
--- a/lib/philomena_web/templates/dnp_entry/index.html.heex
+++ b/lib/philomena_web/templates/dnp_entry/index.html.heex
@@ -34,7 +34,7 @@
<%= link("My Listings", to: ~p"/dnp?#{[mine: "1"]}") %>
<% not is_nil(@current_user) -> %>
- You must have a verified artist link to create and manage DNP entries. <%= link("Request an artist link", to: ~p"/profiles/#{@current_user}/artist_links/new") %> .
+ You must have a verified artist link to create and manage DNP entries. <%= link("Request an artist link", to: ~p"/profiles/#{@current_user}/artist_links/new") %>.
<% true -> %>
You must be logged in and have a verified artist link to create and manage DNP entries.
<% end %>
diff --git a/lib/philomena_web/templates/duplicate_report/_image_cell.html.heex b/lib/philomena_web/templates/duplicate_report/_image_cell.html.heex
index 83ab3cc2..3d0b13ea 100644
--- a/lib/philomena_web/templates/duplicate_report/_image_cell.html.heex
+++ b/lib/philomena_web/templates/duplicate_report/_image_cell.html.heex
@@ -3,12 +3,12 @@
<%= if is_nil(@image) do %>
(Image now hard-deleted)
<% else %>
- # <%= @image.id %>
+ #<%= @image.id %>
<% end %>
<%= render(PhilomenaWeb.ImageView, "_image_container.html", image: @image, size: :thumb_small, conn: @conn) %>
- <%= @image.image_width %> x <%= @image.image_height %>
+ <%= @image.image_width %>x<%= @image.image_height %>
<%= render(PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @image, conn: @conn) %>
diff --git a/lib/philomena_web/templates/filter/_filter.html.heex b/lib/philomena_web/templates/filter/_filter.html.heex
index 366b33ce..f755aa97 100644
--- a/lib/philomena_web/templates/filter/_filter.html.heex
+++ b/lib/philomena_web/templates/filter/_filter.html.heex
@@ -15,7 +15,7 @@
-
- Spoilers <%= length(@filter.spoilered_tag_ids) %> , hides <%= length(@filter.hidden_tag_ids) %>
+ Spoilers <%= length(@filter.spoilered_tag_ids) %>, hides <%= length(@filter.hidden_tag_ids) %>
-
<%= link("View this filter", to: ~p"/filters/#{@filter}", class: "button") %>
diff --git a/lib/philomena_web/templates/fingerprint_profile/show.html.heex b/lib/philomena_web/templates/fingerprint_profile/show.html.heex
index 7af195b1..ff9c17fb 100644
--- a/lib/philomena_web/templates/fingerprint_profile/show.html.heex
+++ b/lib/philomena_web/templates/fingerprint_profile/show.html.heex
@@ -1,5 +1,5 @@
- <%= @fingerprint %> 's fingerprint profile
+ <%= @fingerprint %>'s fingerprint profile
-
diff --git a/lib/philomena_web/templates/gallery/show.html.heex b/lib/philomena_web/templates/gallery/show.html.heex
index b018821e..17498c5f 100644
--- a/lib/philomena_web/templates/gallery/show.html.heex
+++ b/lib/philomena_web/templates/gallery/show.html.heex
@@ -57,10 +57,7 @@ info = render(PhilomenaWeb.PaginationView, "_pagination_info.html", page: @image
A gallery by
<%= link(@gallery.creator.name, to: ~p"/profiles/#{@gallery.creator}") %> with <%= @gallery.image_count %>
- <%= pluralize("image", "images", @gallery.image_count) %>
-
- , last updated <%= pretty_time(@gallery.updated_at) %>
-
+ <%= pluralize("image", "images", @gallery.image_count) %>, last updated <%= pretty_time(@gallery.updated_at) %>
diff --git a/lib/philomena_web/templates/image/_image_meta.html.heex b/lib/philomena_web/templates/image/_image_meta.html.heex
index dcd82a77..aa26eaa4 100644
--- a/lib/philomena_web/templates/image/_image_meta.html.heex
+++ b/lib/philomena_web/templates/image/_image_meta.html.heex
@@ -89,7 +89,7 @@
<%= render(PhilomenaWeb.ImageView, "_uploader.html", assigns) %>
- <%= @image.image_width %> x <%= @image.image_height %>
+ <%= @image.image_width %>x<%= @image.image_height %>
<%= if not is_nil(@image.image_duration) and @image.image_is_animated and @image.image_duration > 0 do %>
<% dur = trunc(@image.image_duration) %>
diff --git a/lib/philomena_web/templates/image/_image_target.html.heex b/lib/philomena_web/templates/image/_image_target.html.heex
index c8104e33..0c6a7228 100644
--- a/lib/philomena_web/templates/image/_image_target.html.heex
+++ b/lib/philomena_web/templates/image/_image_target.html.heex
@@ -9,7 +9,7 @@
<%= img_tag(static_path(@conn, "/images/tagblocked.svg"), width: 250, height: 250, data: [click_unfilter: @image.id]) %>
- <%= link("your current filter", to: ~p"/filters/#{@conn.assigns.current_filter}", class: "filter-link") %> .
+ <%= link("your current filter", to: ~p"/filters/#{@conn.assigns.current_filter}", class: "filter-link") %>.
<%= if size == :full and not embed_display do %>
History
- ( <%= @source_change_count %> )
+ (<%= @source_change_count %>)
<% end %>
<%= if can?(@conn, :hide, @image) and not hide_staff_tools?(@conn) do %>
diff --git a/lib/philomena_web/templates/image/_tags.html.heex b/lib/philomena_web/templates/image/_tags.html.heex
index 31958644..cd49d7f6 100644
--- a/lib/philomena_web/templates/image/_tags.html.heex
+++ b/lib/philomena_web/templates/image/_tags.html.heex
@@ -90,7 +90,7 @@
<%= if @tag_change_count > 0 do %>
- History ( <%= @tag_change_count %> )
+ History (<%= @tag_change_count %>)
<% end %>
diff --git a/lib/philomena_web/templates/image/comment/history/index.html.heex b/lib/philomena_web/templates/image/comment/history/index.html.heex
index eb5cf488..db4cd5ac 100644
--- a/lib/philomena_web/templates/image/comment/history/index.html.heex
+++ b/lib/philomena_web/templates/image/comment/history/index.html.heex
@@ -1,7 +1,7 @@
Viewing last 25 versions of comment by <%= render(PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @comment, conn: @conn) %> on image
- # <%= @comment.image_id %>
+ #<%= @comment.image_id %>
<%= for version <- @versions do %>
diff --git a/lib/philomena_web/templates/image/deleted.html.heex b/lib/philomena_web/templates/image/deleted.html.heex
index 6f9ee0b6..84ec29d5 100644
--- a/lib/philomena_web/templates/image/deleted.html.heex
+++ b/lib/philomena_web/templates/image/deleted.html.heex
@@ -37,7 +37,7 @@
If you originally uploaded the file previously located here, please don't re-upload it - <%= link("contact us", to: "/pages/contact") %> if you feel this was in error and we'll talk! We're only human, and mistakes happen.
- Here's the <%= link("tagging guidelines", to: "/pages/tags") %> and <%= link("rules of the site", to: "/pages/rules") %> . Other useful links can be found at the bottom of the page.
+ Here's the <%= link("tagging guidelines", to: "/pages/tags") %> and <%= link("rules of the site", to: "/pages/rules") %>. Other useful links can be found at the bottom of the page.
<% end %>
diff --git a/lib/philomena_web/templates/image/related/index.html.heex b/lib/philomena_web/templates/image/related/index.html.heex
index af9e914f..13541c8a 100644
--- a/lib/philomena_web/templates/image/related/index.html.heex
+++ b/lib/philomena_web/templates/image/related/index.html.heex
@@ -3,7 +3,7 @@
diff --git a/lib/philomena_web/templates/image/source_change/index.html.heex b/lib/philomena_web/templates/image/source_change/index.html.heex
index 898abde4..b3fcd582 100644
--- a/lib/philomena_web/templates/image/source_change/index.html.heex
+++ b/lib/philomena_web/templates/image/source_change/index.html.heex
@@ -1,7 +1,7 @@
<% route = fn p -> ~p"/images/#{@image}/source_changes?#{p}" end %>
diff --git a/lib/philomena_web/templates/image/tag_change/index.html.heex b/lib/philomena_web/templates/image/tag_change/index.html.heex
index 26ed72dd..5d693d5b 100644
--- a/lib/philomena_web/templates/image/tag_change/index.html.heex
+++ b/lib/philomena_web/templates/image/tag_change/index.html.heex
@@ -1,7 +1,7 @@
<% route = fn p -> ~p"/images/#{@image}/tag_changes?#{p}" end %>
diff --git a/lib/philomena_web/templates/image/tag_lock/show.html.heex b/lib/philomena_web/templates/image/tag_lock/show.html.heex
index e0c7e6ac..efbe0d09 100644
--- a/lib/philomena_web/templates/image/tag_lock/show.html.heex
+++ b/lib/philomena_web/templates/image/tag_lock/show.html.heex
@@ -1,6 +1,6 @@
<% tag_input = Enum.map_join(@image.locked_tags, ", ", & &1.name) %>
- Editing locked tags on image # <%= @image.id %>
+ Editing locked tags on image #<%= @image.id %>
<%= form_for @changeset, ~p"/images/#{@image}/tag_lock", fn f -> %>
diff --git a/lib/philomena_web/templates/ip_profile/show.html.heex b/lib/philomena_web/templates/ip_profile/show.html.heex
index 862e0fef..ba579b5a 100644
--- a/lib/philomena_web/templates/ip_profile/show.html.heex
+++ b/lib/philomena_web/templates/ip_profile/show.html.heex
@@ -1,5 +1,5 @@
- <%= @ip %> 's IP profile
+ <%= @ip %>'s IP profile
-
diff --git a/lib/philomena_web/templates/layout/_footer.html.heex b/lib/philomena_web/templates/layout/_footer.html.heex
index efa9217d..81be9679 100644
--- a/lib/philomena_web/templates/layout/_footer.html.heex
+++ b/lib/philomena_web/templates/layout/_footer.html.heex
@@ -28,6 +28,6 @@
philomena
- ( <%= render_time(@conn) %> ms)
+ (<%= render_time(@conn) %> ms)
diff --git a/lib/philomena_web/templates/layout/_header.html.heex b/lib/philomena_web/templates/layout/_header.html.heex
index 84d54e5f..ad0ea23b 100644
--- a/lib/philomena_web/templates/layout/_header.html.heex
+++ b/lib/philomena_web/templates/layout/_header.html.heex
@@ -130,7 +130,7 @@
<% else %>
|
- $ <%= Decimal.round(item.base_price, 2) %>
+ $<%= Decimal.round(item.base_price, 2) %>
|
<%= add_ons %>
diff --git a/lib/philomena_web/templates/profile/commission/show.html.heex b/lib/philomena_web/templates/profile/commission/show.html.heex
index 21b10f06..548e620b 100644
--- a/lib/philomena_web/templates/profile/commission/show.html.heex
+++ b/lib/philomena_web/templates/profile/commission/show.html.heex
@@ -1,5 +1,5 @@
- <%= @commission.user.name %> 's Commissions
+ <%= @commission.user.name %>'s Commissions
<% # Side column %>
diff --git a/lib/philomena_web/templates/profile/detail/index.html.heex b/lib/philomena_web/templates/profile/detail/index.html.heex
index 8d24d826..effa0ae8 100644
--- a/lib/philomena_web/templates/profile/detail/index.html.heex
+++ b/lib/philomena_web/templates/profile/detail/index.html.heex
@@ -1,5 +1,5 @@
- <%= link(@user.name, to: ~p"/profiles/#{@user}") %> 's User Details
+ <%= link(@user.name, to: ~p"/profiles/#{@user}") %>'s User Details
Mod Notes
diff --git a/lib/philomena_web/templates/profile/fp_history/index.html.heex b/lib/philomena_web/templates/profile/fp_history/index.html.heex
index 02924f1f..65edf3a5 100644
--- a/lib/philomena_web/templates/profile/fp_history/index.html.heex
+++ b/lib/philomena_web/templates/profile/fp_history/index.html.heex
@@ -8,7 +8,7 @@
<%= for u <- @other_users[ufp.fingerprint] do %>
-
- <%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> ( <%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %> )
+ <%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> (<%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %>)
<% end %>
diff --git a/lib/philomena_web/templates/profile/ip_history/index.html.heex b/lib/philomena_web/templates/profile/ip_history/index.html.heex
index 05086637..e3ce8f62 100644
--- a/lib/philomena_web/templates/profile/ip_history/index.html.heex
+++ b/lib/philomena_web/templates/profile/ip_history/index.html.heex
@@ -8,7 +8,7 @@
<%= for u <- @other_users[uip.ip] do %>
-
- <%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> ( <%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %> )
+ <%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> (<%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %>)
<% end %>
diff --git a/lib/philomena_web/templates/profile/show.html.heex b/lib/philomena_web/templates/profile/show.html.heex
index e9d3b7ea..4482f9c7 100644
--- a/lib/philomena_web/templates/profile/show.html.heex
+++ b/lib/philomena_web/templates/profile/show.html.heex
@@ -10,7 +10,7 @@
<%= render(PhilomenaWeb.UserAttributionView, "_user_title.html", object: %{user: @user}, large: true) %>
diff --git a/lib/philomena_web/templates/report/new.html.heex b/lib/philomena_web/templates/report/new.html.heex
index 27433e3d..da945359 100644
--- a/lib/philomena_web/templates/report/new.html.heex
+++ b/lib/philomena_web/templates/report/new.html.heex
@@ -13,7 +13,7 @@
-
- Make sure to report for the correct <%= link("rule", to: "/pages/rules") %> .
+ Make sure to report for the correct <%= link("rule", to: "/pages/rules") %>.
-
One report per problem. If it involves multiple things (images, comments, etc), list all of their IDs in the description of a single report.
@@ -49,7 +49,7 @@
a verified artist link.
- For more information, please read the <%= link("takedown policy", to: "/pages/takedowns") %> .
+ For more information, please read the <%= link("takedown policy", to: "/pages/takedowns") %>.
diff --git a/lib/philomena_web/templates/search/_form.html.heex b/lib/philomena_web/templates/search/_form.html.heex
index 97612fdb..92018c0d 100644
--- a/lib/philomena_web/templates/search/_form.html.heex
+++ b/lib/philomena_web/templates/search/_form.html.heex
@@ -111,53 +111,26 @@
- is a Boolean-valued field. It only accepts the values
-
- true
-
- and
-
- false
-
- .
+ is a Boolean-valued field. It only accepts the values true
+ and false .
Example:
- to find images which are not animated, you would use
-
- animated:false
-
- .
+ to find images which are not animated, you would use animated:false .
- is a numerical range field. Four qualifiers,
-
- gte
-
- (greater than or equal),
-
- lte
-
- (less than or equal),
-
- gt
-
- (greater than), and
-
- lt
-
+ is a numerical range field. Four qualifiers, gte
+ (greater than or equal), lte
+ (less than or equal), gt
+ (greater than), and lt
(less than), can be applied to the desired value.
Example:
- to find images with a score greater than 100, you would use
-
- score.gt:100
-
- .
+ to find images with a score greater than 100, you would use score.gt:100 .
@@ -165,53 +138,26 @@
tweaked subset of the ISO 8601 standard
- , as well as relative dates
-
- (X minutes/hours/days/months/years ago)
-
- . Four qualifiers,
-
- gte
-
- (greater than or equal),
-
- lte
-
- (less than or equal),
-
- gt
-
- (greater than), and
-
- lt
-
+ , as well as relative dates (X minutes/hours/days/months/years ago) . Four qualifiers, gte
+ (greater than or equal), lte
+ (less than or equal), gt
+ (greater than), and lt
(less than), can be applied to the desired value.
Example:
- to find images created before 2013, you would use
-
- created_at.lt:2013
-
- .
+ to find images created before 2013, you would use created_at.lt:2013 .
- is a literal field. You can apply apply a wildcard
-
- *
-
+ is a literal field. You can apply apply a wildcard *
as a substitute for zero or more characters.
Example:
- to find images from DeviantArt, you would use
-
- source_url:*deviantart.com*
-
- .
+ to find images from DeviantArt, you would use source_url:*deviantart.com* .
diff --git a/lib/philomena_web/templates/search/reverse/index.html.heex b/lib/philomena_web/templates/search/reverse/index.html.heex
index 4019048a..5b7923b3 100644
--- a/lib/philomena_web/templates/search/reverse/index.html.heex
+++ b/lib/philomena_web/templates/search/reverse/index.html.heex
@@ -76,7 +76,7 @@
- <%= match.image_width %> x <%= match.image_height %> - <%= round(match.image_size / 1024) %> KiB
+ <%= match.image_width %>x<%= match.image_height %> - <%= round(match.image_size / 1024) %> KiB
<%= render(PhilomenaWeb.TagView, "_tag_list.html", tags: Tag.display_order(match.tags), conn: @conn) %>
|
diff --git a/lib/philomena_web/templates/tag/_quick_tag_table_season.html.heex b/lib/philomena_web/templates/tag/_quick_tag_table_season.html.heex
index 96f25453..89315f34 100644
--- a/lib/philomena_web/templates/tag/_quick_tag_table_season.html.heex
+++ b/lib/philomena_web/templates/tag/_quick_tag_table_season.html.heex
@@ -2,7 +2,7 @@
<%= for map <- slice do %>
<% [header, tag_name] = Enum.to_list(map) %>
- <%= header %> . <%= tag_link(@tags[tag_name], tag_name) %>
+ <%= header %>. <%= tag_link(@tags[tag_name], tag_name) %>
<% end %>
diff --git a/lib/philomena_web/templates/tag/_tag_info_row.html.heex b/lib/philomena_web/templates/tag/_tag_info_row.html.heex
index 72721df6..573cdf07 100644
--- a/lib/philomena_web/templates/tag/_tag_info_row.html.heex
+++ b/lib/philomena_web/templates/tag/_tag_info_row.html.heex
@@ -92,7 +92,7 @@
<%= for channel <- @tag.channels do %>
<%= link(channel.title, to: ~p"/channels/#{channel}") %>
<%= if can?(@conn, :edit, channel) do %>
- ( <%= link("Edit", to: ~p"/channels/#{channel}/edit") %> )
+ (<%= link("Edit", to: ~p"/channels/#{channel}/edit") %>)
<% end %>
<% end %>
@@ -130,7 +130,7 @@
<%= entry.dnp_type %>
- <%= body %> ( <%= link("more info", to: ~p"/dnp/#{entry}") %> )
+ <%= body %> (<%= link("more info", to: ~p"/dnp/#{entry}") %>)
<% end %>
<% end %>
diff --git a/lib/philomena_web/templates/tag/detail/index.html.heex b/lib/philomena_web/templates/tag/detail/index.html.heex
index 4b11a046..8d070cf5 100644
--- a/lib/philomena_web/templates/tag/detail/index.html.heex
+++ b/lib/philomena_web/templates/tag/detail/index.html.heex
@@ -10,7 +10,7 @@
<%= render(PhilomenaWeb.Tag.DetailView, "_filters.html", filters: @filters_hiding, conn: @conn) %>
- Users that watch this tag ( <%= length(@users_watching) %> )
+ Users that watch this tag (<%= length(@users_watching) %>)
<%= for u <- @users_watching do %>
<%= link(u.name, to: ~p"/profiles/#{u}", class: "interaction-user-list-item") %>
diff --git a/lib/philomena_web/templates/topic/poll/_results.html.heex b/lib/philomena_web/templates/topic/poll/_results.html.heex
index bf65f3eb..50b7833a 100644
--- a/lib/philomena_web/templates/topic/poll/_results.html.heex
+++ b/lib/philomena_web/templates/topic/poll/_results.html.heex
@@ -28,7 +28,7 @@
<% end %>
<%= if active?(@poll) do %>
- Poll ends <%= pretty_time(@poll.active_until) %> .
+ Poll ends <%= pretty_time(@poll.active_until) %>.
<%= if @poll.total_votes > 0 do %>
<%= @poll.total_votes %>
<%= pluralize("vote", "votes", @poll.total_votes) %>
@@ -38,7 +38,7 @@
cast so far.
<% else %>
Poll ended <%= pretty_time(@poll.active_until) %> with <%= @poll.total_votes %>
- <%= pluralize("vote", "votes", @poll.total_votes) %> .
+ <%= pluralize("vote", "votes", @poll.total_votes) %>.
<% end %>
|