Files
leaysgur e4298fb23a fix(formatter/jsdoc): follow CommonMark for interrupting lists and guard wrapping from creating them (#26098)
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.
2026-08-26 07:11:32 +00:00
..