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.
L
leaysgur committed
e4298fb23a7ce9466ddc7fe7ec700ba6553fc73b
Parent: d5d3c76