fix(yaml): Don't remove lines including U+3000 (#12305)

Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
Yosuke Kuramiandfisker Cheung authored and GitHub committed 2022-02-15 21:02:04 +08:00
1 parent 8c49fd0f6f
commit f21d18aab9
3 files changed
+33 -3

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#### Fix unexpected deletion of block-literal lines which starts with U+3000 (#12305 by @Quramy)
<!-- prettier-ignore -->
```yaml
# Input
block_with_ideographic_space: |
 line-content # This line starts with U+3000
# Prettier stable
block_with_ideographic_space: |
// Prettier main
block_with_ideographic_space: |
 line-content # This line starts with U+3000
```