diff --git a/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/javascript.html b/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/javascript.html
index bb8fb7e1f..7903beb9e 100644
--- a/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/javascript.html
+++ b/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/javascript.html
@@ -8,9 +8,9 @@
{% include 'wrapper/assets/script.js' %}
{% else %}
-
-
-
+
+
+
{% endif %}
{% else %}
@@ -18,4 +18,4 @@
-{% endif %}
\ No newline at end of file
+{% endif %}
diff --git a/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/style.html b/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/style.html
index 3f45bbc53..78a8874f4 100644
--- a/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/style.html
+++ b/src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/style.html
@@ -19,17 +19,17 @@
{% else %}
{% if theme is not none %}
{% if theme.value == 'flatly' %}
-
+
{% elif theme.value == 'united' %}
-
+
{% elif theme.value == 'simplex' %}
-
+
{% elif theme.value == 'cosmo' %}
-
+
{% endif %}
{% else %}
-
-
+
+
{% endif %}
{% endif %}
{% else %}
@@ -52,5 +52,5 @@
{%- if inline -%}
{% else %}
-
-{% endif %}
\ No newline at end of file
+
+{% endif %}