diff --git a/files/classes/comment.py b/files/classes/comment.py index 153a60e2b6..2e49a20c93 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -280,9 +280,9 @@ class Comment(Base): if v: sub = self.post.sub if sub in {'furry','vampire','racist','femboy'} and not v.house.lower().startswith(sub): body += ' disabled ' - body += f''' data-nonce="{{g.nonce}}" data-onclick="poll_vote_{o.exclusive}('{o.id}', '{self.id}', 'comment')"''' + body += f''' data-nonce="{g.nonce}" data-onclick="poll_vote_{o.exclusive}('{o.id}', '{self.id}', 'comment')"''' else: - body += f''' data-nonce="{{g.nonce}}" data-onclick="poll_vote_no_v()"''' + body += f''' data-nonce="{g.nonce}" data-onclick="poll_vote_no_v()"''' body += f'''>