I have a macro that looks like:
{%- macro image_url(pic_id, big) %}
{% if big == true %}
{% set prefix = 2 %}
{% else %}
{% set prefix = 1 %}
{% endif %}
{% return "https://example.com/images/" ~ prefix ~ "_" ~ pic_id ~ ".jpg" %}
{%- endmacro %}
...and I call this macro as:
<a href="{{image_url(1234, true)}}">
But the resulting HTML shows up as:
<a href=" https://example.com/images/2_1234.jpg">
Why all these extra spaces???