pypi djlint 1.40.1

3 hours ago

Fix

  • Preserve full djlint:off blocks before formatter passes so ignored template, script, and style content is not rewritten.
  • Preserve inline template blocks embedded in rendered text or captured content so formatting does not add meaningful whitespace or misalign following content.
  • Keep chained Jinja function calls and lookups intact when formatting template expressions.
  • Preserve whitespace-sensitive Django filter blocks instead of moving punctuation or translated text around them.
  • Keep Jinja/Nunjucks-trimmed <textarea> closing tags aligned without reformatting untrimmed textarea contents.

Don't miss a new djlint release

NewReleases is sending notifications on new releases.