Djhtml

Latest version: v3.0.6

Safety actively analyzes 623395 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.0.6

What's Changed
* Fix javascript regular expression literals by JaapJoris in https://github.com/rtts/djhtml/pull/93


**Full Changelog**: https://github.com/rtts/djhtml/compare/3.0.5...3.0.6

3.0.5

What's Changed
* Don't treat `//` inside URL as comment by JaapJoris in https://github.com/rtts/djhtml/pull/91


**Full Changelog**: https://github.com/rtts/djhtml/compare/3.0.4...3.0.5

3.0.4

What's Changed

- Reset absolute offsets more aggressively in DjCSS mode

Previous behavior:

background: linear-gradient(
foo,
bar
)

New behavior:

background: linear-gradient(
foo,
bar
)

- Support SCSS comments
Small life hack: if you leave out the space after //, these types of
comments work in regular CSS too!

- Compromise on JS regular expression literals. The compromise is that they cannot contain spaces. If they can, it becomes impossible to distinguish between

re = / foo( // comment

and

not_re = x / foo( // comment

In other words, it's impossible to distinguish between the division sign and the beginning of a regex literal. It still is, but now it will be less of problem for literals without spaces.

**Full Changelog**: https://github.com/rtts/djhtml/compare/3.0.3...3.0.4

3.0.3

What's Changed
* Add support for Slippers component syntax by jnns in https://github.com/rtts/djhtml/pull/87
* Add per-file output to --check by DeD1rk in https://github.com/rtts/djhtml/pull/88

New Contributors
* DeD1rk made their first contribution in https://github.com/rtts/djhtml/pull/88

**Full Changelog**: https://github.com/rtts/djhtml/compare/3.0.2...3.0.3

3.0.2

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:

html
<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
* Relative multi-line HTML elements by JaapJoris in https://github.com/rtts/djhtml/pull/83


**Full Changelog**: https://github.com/rtts/djhtml/compare/3.0.1...3.0.2

3.0.1

This release fixes a DjCSS bug that was kindly reported by GitRon moments after 3.0.0 was released.

What's Changed

* Fix incorrect CSS string detection by JaapJoris in https://github.com/rtts/djhtml/commit/3cb16e1d63aa3c4578828574567018b6fdbe40e1

**Full Changelog**: https://github.com/rtts/djhtml/compare/3.0.0...3.0.1

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.