Skip to content

Commit

Permalink
Review hypertext: Fix gap before comments link
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Oct 8, 2024
1 parent 52df207 commit 1432384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/minetest_hypertext.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def make_link(url: str, label: str):
content = html_to_minetest(html, package.get_url("packages.view", absolute=True),
formspec_version, False, f"review_{review.id}_")
links.update(content["links"])
comment_body = content["body"]
comment_body = content["body"].rstrip()

author = make_link(abs_url_for("users.profile", username=review.author.username), review.author.display_name)
rating = ["<thumbsdown>", "<thumbsdown>", "<neutral>", "<thumbsup>", "<thumbsup>"][review.rating - 1]
Expand Down

0 comments on commit 1432384

Please sign in to comment.