From 3d1ac2771a9e82cc8b0a3549dfa403c8cf811af7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 13 Oct 2021 17:17:52 +0200 Subject: [PATCH] fdsfsd --- files/routes/comments.py | 2 +- files/routes/posts.py | 2 +- files/templates/comments.html | 2 +- files/templates/submission.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index c773b2080..b62bf8585 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -264,7 +264,7 @@ def api_comment(v): parent_submission=parent_submission, parent_comment_id=c.id, level=level+1, - body=filter_title(option) + body_html=filter_title(option) ) g.db.add(c_option) diff --git a/files/routes/posts.py b/files/routes/posts.py index 0723b26ca..de539db3a 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -690,7 +690,7 @@ def submit_post(v): c = Comment(author_id=AUTOPOLLER_ACCOUNT, parent_submission=new_post.id, level=1, - body=filter_title(option), + body_html=filter_title(option), ) g.db.add(c) diff --git a/files/templates/comments.html b/files/templates/comments.html index a20a1e4d2..0e1731f6d 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -261,7 +261,7 @@ {% for c in c.options %}
- +
{% endfor %}

diff --git a/files/templates/submission.html b/files/templates/submission.html
index 134065304..0355fdfdf 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -378,7 +378,7 @@
 							{% for c in p.options %}
 								
- +
{% endfor %}