You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Djlint adds a new line after yaml front matter in templates since 1b1cff3. This results in the generated files having a new line on the first line which breaks parsing for certain file types - some XML parsers expect the XML declaration to be on the first line.
I suggest to have an configuration option to disable this behavior.
The text was updated successfully, but these errors were encountered:
# [1.29.0](v1.28.0...v1.29.0) (2023-05-22)
### Bug Fixes
* **formatter:** fix cases where ignore was still formatting set and function code ([ab878ea](ab878ea)), closes [#659](#659)
* **formatter:** fix extra parenth being added in a function call ([faba4f4](faba4f4)), closes [#660](#660)
* **linter:** fixed missing positive on a few <img rules ([5f33d08](5f33d08))
### Features
* **formatter:** added option to disable newlines after yaml front matter ([9bf64ac](9bf64ac)), closes [#662](#662)
* **linter:** allow codes to be ignored for remainder of file ([4637a0f](4637a0f)), closes [#655](#655)
Feature Request
Djlint adds a new line after yaml front matter in templates since 1b1cff3. This results in the generated files having a new line on the first line which breaks parsing for certain file types - some XML parsers expect the XML declaration to be on the first line.
I suggest to have an configuration option to disable this behavior.
The text was updated successfully, but these errors were encountered: