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

Keep indent for partial expression (>) by default #486

Merged
merged 5 commits into from
Jan 4, 2022

Conversation

sunng87
Copy link
Owner

@sunng87 sunng87 commented Jan 3, 2022

Fixes #482

subtasks

  • implement default indent for partial expression
  • add TemplateOptions for template compilation, while keeping the public api compatible in 4.x
  • add option prevent_indent in Registry

@sunng87 sunng87 added this to the 4.2 milestone Jan 4, 2022
@sunng87 sunng87 merged commit 59510e5 into master Jan 4, 2022
@sunng87 sunng87 deleted the fix/partial-indent branch January 4, 2022 16:21
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.

Partials do not respect the indentation from source content
1 participant