mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
598 B
598 B
Prevent indentation drift in task-list code blocks (#19647 by @Austin1serb)
Indented code blocks inside task-list items no longer gain four spaces on each formatting pass.
<!-- Input -->
- [x] short first line.
second paragraph at six spaces that wraps
onto another line here.
<!-- Prettier stable -->
- [x] short first line.
second paragraph at six spaces that wraps
onto another line here.
<!-- Prettier main -->
- [x] short first line.
second paragraph at six spaces that wraps
onto another line here.