Skip to content

3.0.2

Compare
Choose a tag to compare
@JaapJoris JaapJoris released this 24 Feb 07:50
· 19 commits to main since this release
97067bd

This release fixes the "bug" that DjHTML was a little too opinionated when indenting multi-line HTML elements: #82 The old behavior has been restored, but only when the character following the tagname is a newline:

<long-html-tag
    attribute1="value"
    attribute2="value"
    attribute3="value"/>

This tweak will hopefully appease existing DjHTML users that were already used to the old behavior, and gives them a way to continue using it by placing all attributes on separate lines. A special thanks to @Thutmose3 for making this suggestion!

What's Changed

Full Changelog: 3.0.1...3.0.2