diff --git a/page_analyzer/templates/url_related/url.html b/page_analyzer/templates/url_related/url.html
index 8b25da3..8552d53 100644
--- a/page_analyzer/templates/url_related/url.html
+++ b/page_analyzer/templates/url_related/url.html
@@ -23,11 +23,11 @@
{% with messages = get_flashed_messages(with_categories=true) %}
-{% if messages %}
- {% for category, message in messages %}
-
{{ message }}
- {% endfor %}
-{% endif %}
+ {% if messages %}
+ {% for category, message in messages %}
+ {{ message }}
+ {% endfor %}
+ {% endif %}
{% endwith %}
diff --git a/page_analyzer/templates/url_related/urls.html b/page_analyzer/templates/url_related/urls.html
index 6c7eac3..8075f47 100644
--- a/page_analyzer/templates/url_related/urls.html
+++ b/page_analyzer/templates/url_related/urls.html
@@ -23,11 +23,11 @@
{% with messages = get_flashed_messages(with_categories=true) %}
-{% if messages %}
- {% for category, message in messages %}
-
{{ message }}
- {% endfor %}
-{% endif %}
+ {% if messages %}
+ {% for category, message in messages %}
+ {{ message }}
+ {% endfor %}
+ {% endif %}
{% endwith %}