Closed mgax closed 8 months ago
Fixes https://github.com/ietf-tools/wagtail_website/issues/288
Django's {% spaceless %} template tag removes whitespace between HTML tags, including adjacent links. This patch removes the spaceless tag from the base templates. It's still used in the includes/imageblock.html template, where it's not liable to squash adjacent inline markup: https://github.com/ietf-tools/wagtail_website/blob/v1.10.0/ietf/templates/includes/imageblock.html#L1
{% spaceless %}
includes/imageblock.html
Fixes https://github.com/ietf-tools/wagtail_website/issues/288
Django's
{% spaceless %}
template tag removes whitespace between HTML tags, including adjacent links. This patch removes the spaceless tag from the base templates. It's still used in theincludes/imageblock.html
template, where it's not liable to squash adjacent inline markup: https://github.com/ietf-tools/wagtail_website/blob/v1.10.0/ietf/templates/includes/imageblock.html#L1