diff --git a/modoboa/templates/404.html b/modoboa/templates/404.html
index d798468b6..78aef1dae 100644
--- a/modoboa/templates/404.html
+++ b/modoboa/templates/404.html
@@ -1,4 +1,4 @@
{% extends "layout_simple.html" %}{% load i18n %}
{% block content %}
-
{% trans "The requested page does not exist." %}
+{% trans "The requested page does not exist." %}
{% endblock %}
diff --git a/modoboa/templates/500.html b/modoboa/templates/500.html
index afff91d1b..084fb687b 100644
--- a/modoboa/templates/500.html
+++ b/modoboa/templates/500.html
@@ -1,4 +1,4 @@
{% extends "layout_simple.html" %}{% load i18n %}
{% block content %}
-{% trans "An internal error occured." %}
+{% trans "An internal error occured." %}
{% endblock %}