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: indentation for handlebars unless #1114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

S1mplePixels
Copy link

The unless tag {{#unless}} {{/unless}} was not seen as a template tag.
I fixed it by adding it to the template tags config.

Pull Request Check List

Resolves: #972

  • Added tests for changed code.
  • Updated documentation for changed code.

I don't think a documentation change is needed because handlebars supports unless but djlint didn't before this commit.

Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for djlint canceled.

Name Link
🔨 Latest commit fe5dfa9
🔍 Latest deploy log https://app.netlify.com/sites/djlint/deploys/67911afdee996a00089e8937

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.

[BUG] [Formatter] unless blocks break indention
1 participant