{# Here we render only what should appear as the entry text, but try to avoid any additional HTML formatting. NB: you probably need tag filters `text`. #} {%- import "lexicon.macros" as macros with context -%} {%- set first_l = lexicon_entry|xpath('lg/l')|first %} {{ first_l|text }} ({{ lexicon_entry|xpath(dictionary_options.pos)|tagfilter(_from, _to) }}) {# vim: set ts=4 sw=4 tw=72 syntax=htmljinja : #}