Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove spaceless template tag #347

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

mgax
Copy link
Contributor

@mgax mgax commented Nov 27, 2023

Fixes #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

@kesara kesara merged commit b350e84 into ietf-tools:main Nov 27, 2023
5 checks passed
@mgax mgax deleted the remove-spaceless branch December 4, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

adjacent links separated by a space run together
3 participants