{% spaceless %} tag for Jinja templates?

前端 未结 2 1662
[愿得一人]
[愿得一人] 2021-02-11 18:55

Django has a useful {% spaceless %} tag that strips extra whitespace from HTML.

My templates are producing a lot of whitespace and it\'s too much of a pain

2条回答
提交回复
热议问题