{% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first | trim_start_matches(pat='"') | trim_end_matches(pat='"') %} {% if 'https' in path %} {{ body | trim_start_matches(pat="") | safe}} {% else %} {{ body | trim_start_matches(pat="") | safe}} {% endif %}
") | safe}}