Commit Graph

18 Commits (b386a815da6e9c73de05b9fe0777da88e62fd546)

Author SHA1 Message Date
Marc Abonce Seguin 0601f2bb48 add toggle to resize infobox 4 years ago
Marc Abonce Seguin 74270a3fc2 add class for infobox's official url 4 years ago
Marc Abonce Seguin c9c39b3e79 add engine's name in infobox's header 4 years ago
Marc Abonce Seguin 574e99c4de reduce space between title and url in infobox header 4 years ago
Adam Tauber 2ff6214a4d [fix] remove alt text which doesnt add extra info - #350 4 years ago
Adam Tauber 29960aa1d9 [enh] add official site link to the top of the infobox - closes #1644 4 years ago
Adam Tauber 785f0938fd [fix] add link to wikidata entities in infobox - fixes #1097 4 years ago
Vipul 8bea927bb0 [Fix] oscar: no HTML escaping prior to output
When results are fetched from any programming related documentation site
(like git-scm.com, docs.python.org etc), content in Info box is shown as
raw HTML code.

This change addresses the issue by using "safe" filter feature provided by
Django. See,
  - https://docs.djangoproject.com/en/3.0/ref/templates/builtins/#safe
  - Searx issue tracker (issue #1649), for more information.

Resolves: #1649
5 years ago
Dalf f34ac58752 [mod] tidy oscar HTML output 5 years ago
Adam Tauber b4b0231617 [fix] links in new tabs without js ++ noopener bug fix - closes #674 8 years ago
marc a0a1284998 wikidata refactor and more attributes (see issue #560) 8 years ago
a01200356 6dca14e95d [enh] multilingual duckduckgo_definitions 9 years ago
a01200356 8d335dbdae [enh] wikipedia infobox
creates simple multilingual infobox using wikipedia's api
9 years ago
a01200356 4267b11a45 [fix] apply changes in infobox's styles
changes were made for wolframalpha infobox:

    - wrap text inside infobox.
      for example, there's a hill in New Zealand called
      Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu
      (don't blame me, blame the Kiwis)
      and now it doesn't break the infobox.

    - add an optional image field for infobox's attributes.
      (doesn't affect ddg infobox at all)

    - table is now always split in half.
      needed so that images stay inside infobox.
      (max-width doesn't work for inline elements, it's the table
      that has to set the width.

if you don't like how the table width looks now in ddg/wiki's infobox,
i can change that code so that the style only applies when using
wolframalpha.
9 years ago
Alexandre Flament 77b2fbb61e [enh] implements #264 : add rel="noreferrer" to external links 10 years ago
dalf 9154cf7930 Proxify images inside infoboxes 10 years ago
Cqoicebordel 42692aa2c5 Add alt for img
Add alt in infobox image.
10 years ago
Thomas Pointhuber c36c935b03 oscar template: add infobox 10 years ago