@prettier/plugin-xml
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -9,2 +9,8 @@ # Changelog | ||
## [2.0.1] - 2022-03-22 | ||
### Added | ||
- Better idempotency when printing long strings of text content within elements with ignored whitespace. | ||
## [2.0.0] - 2022-03-22 | ||
@@ -177,3 +183,4 @@ | ||
[unreleased]: https://github.com/prettier/plugin-xml/compare/v2.0.0...HEAD | ||
[unreleased]: https://github.com/prettier/plugin-xml/compare/v2.0.1...HEAD | ||
[2.0.1]: https://github.com/prettier/plugin-xml/compare/v2.0.0...v2.0.1 | ||
[2.0.0]: https://github.com/prettier/plugin-xml/compare/v1.2.0...v2.0.0 | ||
@@ -180,0 +187,0 @@ [1.2.0]: https://github.com/prettier/plugin-xml/compare/v1.1.0...v1.2.0 |
@@ -231,3 +231,3 @@ "use strict"; | ||
return fill(value | ||
.split(/( )/g) | ||
.split(/\b( +)\b/g) | ||
.map((segment, index) => index % 2 === 0 ? segment : line)); | ||
@@ -234,0 +234,0 @@ })); |
{ | ||
"name": "@prettier/plugin-xml", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "prettier plugin for XML", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.js", |
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
38913
279156