diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html
index 7d72b7092..42721a812 100644
--- a/searx/templates/oscar/macros.html
+++ b/searx/templates/oscar/macros.html
@@ -36,26 +36,26 @@
{{ result.pretty_url }}
{%- endmacro %}
-{% macro preferences_item_header(info, label) -%}
+{% macro preferences_item_header(info, label, rtl) -%}
{% if rtl %}
+ {% else %}
+
+ {{ info }}
+
{% endif %}
{%- endmacro %}
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 066524f48..b98100e8e 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -41,73 +41,73 @@
{% set language_label = _('Search language') %}
{% set language_info = _('What language do you prefer for search?') %}
- {{ preferences_item_header(language_info, language_label) }}
+ {{ preferences_item_header(language_info, language_label, rtl) }}
- {{ preferences_item_footer(language_info, language_label) }}
+ {{ preferences_item_footer(language_info, language_label, rtl) }}
{% set locale_label = _('Interface language') %}
{% set locale_info = _('Change the language of the layout') %}
- {{ preferences_item_header(locale_info, locale_label) }}
+ {{ preferences_item_header(locale_info, locale_label, rtl) }}
- {{ preferences_item_footer(locale_info, locale_label) }}
+ {{ preferences_item_footer(locale_info, locale_label, rtl) }}
{% set autocomplete_label = _('Autocomplete') %}
{% set autocomplete_info = _('Find stuff as you type') %}
- {{ preferences_item_header(autocomplete_info, autocomplete_label) }}
+ {{ preferences_item_header(autocomplete_info, autocomplete_label, rtl) }}
- {{ preferences_item_footer(autocomplete_info, autocomplete_label) }}
+ {{ preferences_item_footer(autocomplete_info, autocomplete_label, rtl) }}
{% set image_proxy_label = _('Image proxy') %}
{% set image_proxy_info = _('Proxying image results through searx') %}
- {{ preferences_item_header(image_proxy_info, image_proxy_label) }}
+ {{ preferences_item_header(image_proxy_info, image_proxy_label, rtl) }}
- {{ preferences_item_footer(image_proxy_info, image_proxy_label) }}
+ {{ preferences_item_footer(image_proxy_info, image_proxy_label, rtl) }}
{% set method_label = _('Method') %}
{% set method_info = _('Change how forms are submited, learn more about request methods') %}
- {{ preferences_item_header(method_info, method_label) }}
+ {{ preferences_item_header(method_info, method_label, rtl) }}
- {{ preferences_item_footer(method_info, method_label) }}
+ {{ preferences_item_footer(method_info, method_label, rtl) }}
{% set safesearch_label = _('SafeSearch') %}
{% set safesearch_info = _('Filter content') %}
- {{ preferences_item_header(safesearch_info, safesearch_label) }}
+ {{ preferences_item_header(safesearch_info, safesearch_label, rtl) }}
- {{ preferences_item_footer(safesearch_info, safesearch_label) }}
+ {{ preferences_item_footer(safesearch_info, safesearch_label, rtl) }}
{% set theme_label = _('Themes') %}
{% set theme_info = _('Change searx layout') %}
- {{ preferences_item_header(theme_info, theme_label) }}
+ {{ preferences_item_header(theme_info, theme_label, rtl) }}
- {{ preferences_item_footer(theme_info, theme_label) }}
+ {{ preferences_item_footer(theme_info, theme_label, rtl) }}