Skip to content

v1.40.1

Latest

Choose a tag to compare

@monosans monosans released this 01 Jul 22:45

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.