@prettier/plugin-xml
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -9,2 +9,7 @@ # Changelog | ||
## [0.13.1] - 2021-03-03 | ||
### Changed | ||
- Fixed a bug with newlines when there is empty content. | ||
## [0.13.0] - 2021-01-22 | ||
@@ -131,3 +136,4 @@ | ||
[unreleased]: https://github.com/prettier/plugin-xml/compare/v0.13.0...HEAD | ||
[unreleased]: https://github.com/prettier/plugin-xml/compare/v0.13.1...HEAD | ||
[0.13.1]: https://github.com/prettier/plugin-xml/compare/v0.13.0...v0.13.1 | ||
[0.13.0]: https://github.com/prettier/plugin-xml/compare/v0.12.0...v0.13.0 | ||
@@ -134,0 +140,0 @@ [0.12.0]: https://github.com/prettier/plugin-xml/compare/v0.11.0...v0.12.0 |
{ | ||
"name": "@prettier/plugin-xml", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "prettier plugin for XML", | ||
@@ -27,3 +27,3 @@ "main": "src/plugin.js", | ||
"eslint": "^7.0.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"eslint-config-prettier": "^8.0.0", | ||
"jest": "^26.0.0" | ||
@@ -30,0 +30,0 @@ }, |
@@ -335,2 +335,7 @@ const { | ||
if (children.length === 0) { | ||
const space = opts.xmlSelfClosingSpace ? line : softline; | ||
return group(concat(parts.concat(space, "/>"))); | ||
} | ||
const docs = []; | ||
@@ -337,0 +342,0 @@ let lastLine = children[0].startLine; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36736
288853
719