{%- set attr_s = handle_links(mark.attrs) -%} {%- if attr_s -%} {{ text }} {%- else -%} {{ text }} {%- endif -%}