From 70c76a8ceae6bceaa63efd53c0e0a82909a4fada Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 26 Oct 2021 23:11:14 +0200 Subject: [PATCH] 2nd --- LICENSE | 6 +-- files/helpers/jinja2.py | 2 +- files/routes/feeds.py | 2 +- files/templates/admin/awards.html | 2 +- files/templates/ban_modal.html | 4 +- files/templates/comments.html | 4 +- files/templates/default.html | 72 ++++++++++++------------- files/templates/email/default.html | 6 +-- files/templates/emoji_modal.html | 2 +- files/templates/report_post_modal.html | 2 +- files/templates/settings.html | 22 ++++---- files/templates/settings2.html | 22 ++++---- files/templates/settings_profile.html | 6 +-- files/templates/sign_up.html | 22 ++++---- files/templates/sign_up_failed_ref.html | 22 ++++---- files/templates/submission.html | 68 +++++++++++------------ files/templates/userpage.html | 44 +++++++-------- 17 files changed, 154 insertions(+), 154 deletions(-) diff --git a/LICENSE b/LICENSE index ada1a8176..1c66220d2 100755 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -658,4 +658,4 @@ specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see -. +. diff --git a/files/helpers/jinja2.py b/files/helpers/jinja2.py index 4e847d292..7e4ee0741 100755 --- a/files/helpers/jinja2.py +++ b/files/helpers/jinja2.py @@ -27,7 +27,7 @@ def favorite_emojis(x): str = "" emojis = sorted(x.items(), key=lambda x: x[1], reverse=True)[:25] for k, v in emojis: - str += f'' + str += f'' return str @app.context_processor diff --git a/files/routes/feeds.py b/files/routes/feeds.py index 1d76af10d..50b49c980 100755 --- a/files/routes/feeds.py +++ b/files/routes/feeds.py @@ -61,6 +61,6 @@ def feeds_user(sort='hot', t='all'): if len(post.body_html) > 0: with tag("content", type="html"): - doc.cdata(f'
{post.body_html}') + doc.cdata(f'
{post.body_html}') return Response( ""+ doc.getvalue(), mimetype="application/xml") \ No newline at end of file diff --git a/files/templates/admin/awards.html b/files/templates/admin/awards.html index 93a1b0f0c..994404f89 100755 --- a/files/templates/admin/awards.html +++ b/files/templates/admin/awards.html @@ -55,7 +55,7 @@ {{a['title']}} - + {% endfor %} diff --git a/files/templates/ban_modal.html b/files/templates/ban_modal.html index 2588b7775..3cbd93caa 100755 --- a/files/templates/ban_modal.html +++ b/files/templates/ban_modal.html @@ -37,13 +37,13 @@
- + - +
diff --git a/files/templates/comments.html b/files/templates/comments.html index 8015e7fbe..6a2acba16 100755 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -281,7 +281,7 @@ {% if c.author.verified %} {% endif %} - {{c.author.username}} + {{c.author.username}} {% if c.author.customtitle %}  {% if c.author.quadrant %}{% endif %}{{c.author.customtitle | safe}}{% endif %} {% if c.parent_comment_id and not standalone and level<=7 %}{{ c.parent_comment.author.username }}{% endif %} @@ -692,7 +692,7 @@
We're sorry something here is wrong.
Please enter a reason for reporting below.

-							
+