diff options
| author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-13 01:03:18 +0100 |
|---|---|---|
| committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-13 01:03:18 +0100 |
| commit | 77ba28cf505e7f0cdde294e8ad10f9c07db43f6a (patch) | |
| tree | d56a6204345d41c46ddf68de6928a68e10179952 /searx/templates/oscar/result_templates/code.html | |
| parent | ec2516b93db6343afc4bd86291082dfb64914595 (diff) | |
Some RTL fixes
- Pull the suggestions to the right in oscar
- Add `‎` to a few places to print good url
- Always LTR code display
- Order pref label and info in pref for mobile view
And add `sort` for ui languages and languages to find them more easily.
Diffstat (limited to 'searx/templates/oscar/result_templates/code.html')
| -rw-r--r-- | searx/templates/oscar/result_templates/code.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/templates/oscar/result_templates/code.html b/searx/templates/oscar/result_templates/code.html index 0ec0983b3..6890c7851 100644 --- a/searx/templates/oscar/result_templates/code.html +++ b/searx/templates/oscar/result_templates/code.html @@ -7,7 +7,9 @@ {% if result.repository %}<p class="result-content">{{ icon('file') }} <a href="{{ result.repository|safe }}">{{ result.repository }}</a></p>{% endif %}
+<div dir="ltr">
{{ result.codelines|code_highlighter(result.code_language)|safe }}
+</div>
{% if rtl %}
{{ result_footer_rtl(result) }}
|