mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
e4298fb23a
Fixes #25825, #26026. --- If the formatter adjusts the wrapping and causes list-like characters to appear at the beginning of a line, those characters will be mistakenly converted into a list in the next formatting step. Therefore, it is necessary to guard meaningful characters so that they do not appear at the beginning of a line. Also, fixed an issue where character that should have originally been interpreted as lists were not, aligning with the CommonMark behavior.