fixed include tags not indenting correctly

This commit is contained in:
Christopher Pickering 2021-07-30 15:36:45 -05:00
parent ae965fab5a
commit e4419d05cb
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84
3 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,7 @@
project = "djlint"
copyright = "2021, Riverside Healthcare"
author = "Christopher Pickering"
release = "0.1.6"
release = "0.1.7"
version = release
# -- General configuration ---------------------------------------------------

View file

@ -6,7 +6,7 @@ from setuptools import find_packages, setup
project_path = Path(__file__).parent
__version__ = "0.1.6"
__version__ = "0.1.7"
def long_description():

View file

@ -48,7 +48,9 @@ ignored_attributes = [
ignored_paths = r"(?:\.tox|\.venv|node_modules|_build)"
start_template_tags = r"{% ?(?:if|for|block|spaceless|compress|load|include|assets|addto|language)[^}]+?%}"
start_template_tags = (
r"{% ?(?:if|for|block|spaceless|compress|load|assets|addto|language)[^}]+?%}"
)
break_template_tags = [
r"{% ?(?:if|end|for|block|endblock|else|spaceless|compress|load|include|assets|addto|language)[^}]+?%}",