diff --git a/comments/templates/comments/_add_comment_form.html b/comments/templates/comments/_add_comment_form.html
index fb7c24f76a41bb8ae61e0a83f832ceea20f4d549..ae6dfc2c3d1313bc294a17b78eefef1bd4756cb9 100644
--- a/comments/templates/comments/_add_comment_form.html
+++ b/comments/templates/comments/_add_comment_form.html
@@ -3,37 +3,14 @@
 {% load staticfiles %}
 
 {% block footer_script %}
-  <!-- <script>
-       $(function(){
-       var comment_text_input = $("#id_comment_text");
-
-       comment_text_input.on('keyup', function(){
-       var new_text = $(this).val()
-       $("#preview-comment_text").text(new_text)
-       if( typeof MathJax.Hub !== 'undefined' ) {
-       MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
-       }
-       }).trigger('keyup');
-
-       $('input[name$="anonymous"]').on('change', function() {
-       $('.anonymous-alert').show()
-       .children('h3').hide()
-       if ($(this).prop('checked')) {
-       $('.anonymous-yes').show();
-       } else {
-       $('.anonymous-no').show();
-       }
-       }).trigger('change');
-       });
-       </script> -->
   <script type="text/javascript" src="{% static 'scipost/comment-preview.js' %}"></script>
 {% endblock %}
 
-<form enctype="multipart/form-data" {% if url %}action="{{url}}" {% endif %}method="post">
+<form enctype="multipart/form-data" {% if url %}action="{{ url }}" {% endif %}method="post">
   {% csrf_token %}
   <div class="row">
     <div class="col-md-9">
-      {{form.comment_text|bootstrap:'12,12'}}
+      {{ form.comment_text|bootstrap:'12,12' }}
 
       <p>
         In your comment, you can use $\LaTeX$ \$...\$ for in-text equations or \ [ ... \ ] for on-line equations.
@@ -42,24 +19,24 @@
     </div>
     <div class="col-md-3 radio-list">
       <label>Specify categorization(s):</label>
-      {{form.is_cor|bootstrap}}
-      {{form.is_rem|bootstrap}}
-      {{form.is_que|bootstrap}}
-      {{form.is_ans|bootstrap}}
-      {{form.is_obj|bootstrap}}
-      {{form.is_rep|bootstrap}}
-      {{form.is_val|bootstrap}}
-      {{form.is_lit|bootstrap}}
-      {{form.is_sug|bootstrap}}
+      {{ form.is_cor|bootstrap }}
+      {{ form.is_rem|bootstrap }}
+      {{ form.is_que|bootstrap }}
+      {{ form.is_ans|bootstrap }}
+      {{ form.is_obj|bootstrap }}
+      {{ form.is_rep|bootstrap }}
+      {{ form.is_val|bootstrap }}
+      {{ form.is_lit|bootstrap }}
+      {{ form.is_sug|bootstrap }}
     </div>
   </div>
 
   <div class="row">
     <div class="col-md-9">
-      {{form.remarks_for_editors|bootstrap:'12,12'}}
+      {{ form.remarks_for_editors|bootstrap:'12,12' }}
     </div>
     <div class="col-md-3">
-      {{form.file_attachment|bootstrap:'12,12'}}
+      {{ form.file_attachment|bootstrap:'12,12' }}
     </div>
   </div>
 
diff --git a/comments/templates/comments/new_comment.html b/comments/templates/comments/new_comment.html
index 59c864ebbf6eb2b6ef7fca7c465c89f05548e6fe..860ca4a6dfdf20bb506e50c7593c28e42d25edef 100644
--- a/comments/templates/comments/new_comment.html
+++ b/comments/templates/comments/new_comment.html
@@ -17,6 +17,6 @@
 
 {% elif not user.is_authenticated %}
 
-  <h3 class="text-center my-3"><a href="{% url 'scipost:login' %}?next={{request.path}}">Login to comment</a></h3>
+  <h3 class="text-center my-3"><a href="{% url 'scipost:login' %}?next={{ request.path }}">Login to comment</a></h3>
 
 {% endif %}
diff --git a/submissions/templates/submissions/submission_detail.html b/submissions/templates/submissions/submission_detail.html
index ede80c40a43d5fd3ffd6da3fb71121abf16ad4ba..3ae1b9c243887e149bb5184b794c9764408abf3a 100644
--- a/submissions/templates/submissions/submission_detail.html
+++ b/submissions/templates/submissions/submission_detail.html
@@ -47,8 +47,8 @@
       <!-- End notifications -->
 
       <h2>SciPost Submission Page</h2>
-      <h1 class="text-primary">{{submission.title}}</h1>
-      <h3 class="mb-3">by {{submission.author_list}}</h3>
+      <h1 class="text-primary">{{ submission.title }}</h1>
+      <h3 class="mb-3">by {{ submission.author_list }}</h3>
 
       {% if user.is_authenticated %}
 	{% with type_id=submission|content_type_id %}
@@ -60,7 +60,7 @@
 	{% if submission.publication and submission.publication.is_published %}
 	  <h4>
             - Published as
-            <a href="{{submission.publication.get_absolute_url}}">
+            <a href="{{ submission.publication.get_absolute_url }}">
               {{ submission.publication.get_journal.abbreviation_citation }}
               {% if submission.publication.in_issue.in_volume %} <strong>{{ submission.publication.in_issue.in_volume.number }}</strong>,{% endif %}
               {{ submission.publication.paper_nr }}
@@ -150,9 +150,9 @@
 
   {% if not user.is_authenticated %}
     {% if submission.comments.vetted.exists %}
-      <h3 class="text-center my-3"><a href="{% url 'scipost:login' %}?next={{request.path}}">Login to report</a></h3>
+      <h3 class="text-center my-3"><a href="{% url 'scipost:login' %}?next={{ request.path }}">Login to report</a></h3>
     {% else %}
-      <h3 class="text-center my-3"><a href="{% url 'scipost:login' %}?next={{request.path}}">Login to report or comment</a></h3>
+      <h3 class="text-center my-3"><a href="{% url 'scipost:login' %}?next={{ request.path }}">Login to report or comment</a></h3>
     {% endif %}
   {% endif %}