django-cms / djangocms-frontend

django CMS frontend is a plugin bundle for django CMS providing several components for the frontend, currently implemented with the popular Bootstrap 5 framework.
Other
42 stars 20 forks source link

fix: Remove `{% spaceless %}` around `{% block "content" %}` #188

Closed fsbraun closed 4 months ago

fsbraun commented 4 months ago

This PR changes the "batteries included" template. It should not enclose the content block with a spaceless block.

Doing so does remove whitespaces between two links, for example, which is unwanted:

<a href="#m1">green</a> <a href="#m2">house</a> renders to greenhouse and not green house

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f11feee) 86.93% compared to head (5098a44) 86.93%. Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #188 +/- ## ======================================= Coverage 86.93% 86.93% ======================================= Files 120 120 Lines 3107 3107 Branches 330 330 ======================================= Hits 2701 2701 Misses 304 304 Partials 102 102 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.