Skip to content

v0.9.19

Compare
Choose a tag to compare
@wrabit wrabit released this 14 Jul 11:39
· 357 commits to main since this release

What's Changed

  • permitted duplicate attributes in DTL by @wrabit in #57

@pedroven identified an issue where the loader was not allowing us to use Django template expressions to govern whole attributes inside html elements. This was due to the compilation where BS4 cleanses HTML removing duplicate attributes adhering to html spec:

There must never be two or more attributes on the same start tag whose names are an ASCII case-insensitive match for each other.

Since our target is not HTML, but Django Template Language, this behaviour is not desirable, we now manage this in the Cotton Compiler.

Full Changelog: v0.9.18...v0.9.19