diff --git a/mayan/apps/dynamic_search/templates/search_help.html b/mayan/apps/dynamic_search/templates/search_help.html
index a8bfff941a..166c805b7c 100644
--- a/mayan/apps/dynamic_search/templates/search_help.html
+++ b/mayan/apps/dynamic_search/templates/search_help.html
@@ -1,5 +1,5 @@
{% load i18n %}
-
{% trans "Help" %}
+
{% trans 'Help' %}
{% blocktrans %}Enter the desired search keywords separated by space. Only the top {{ search_results_limit }} results will be available.{% endblocktrans %}
diff --git a/mayan/apps/dynamic_search/templates/search_results.html b/mayan/apps/dynamic_search/templates/search_results.html
index 5fb664fffa..d3d0b45f9d 100644
--- a/mayan/apps/dynamic_search/templates/search_results.html
+++ b/mayan/apps/dynamic_search/templates/search_results.html
@@ -1,16 +1,16 @@
-{% extends "main/base.html" %}
+{% extends 'main/base.html' %}
{% load i18n %}
-{% block title %} :: {% trans "Search results" %}{% endblock %}
+{% block title %} :: {% trans 'Search results' %}{% endblock %}
{% block content %}
{% if form %}
- {% include "search_results_subtemplate.html" %}
+ {% include 'search_results_subtemplate.html' %}
{% endif %}
{% if query_string %}
- {% include "main/generic_list_subtemplate.html" %}
+ {% include 'main/generic_list_subtemplate.html' %}
{% endif %}
{% if not form and not query_string %}
- {% include "main/generic_list_subtemplate.html" %}
+ {% include 'main/generic_list_subtemplate.html' %}
{% endif %}
{% endblock %}
diff --git a/mayan/apps/dynamic_search/templates/search_results_subtemplate.html b/mayan/apps/dynamic_search/templates/search_results_subtemplate.html
index 8d525a3c2d..3e9454dad2 100644
--- a/mayan/apps/dynamic_search/templates/search_results_subtemplate.html
+++ b/mayan/apps/dynamic_search/templates/search_results_subtemplate.html
@@ -1,5 +1,5 @@
-{% with "get" as submit_method %}
+{% with 'get' as submit_method %}
{% with form_title as title %}
- {% include "main/generic_form_subtemplate.html" %}
+ {% include 'main/generic_form_subtemplate.html' %}
{% endwith %}
{% endwith %}