You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3bfe3d9
Browse filesBrowse the repository at this point in the historyBrowse files
CommonMark spec permits ordered list markers using either a period (`.`) or a right parenthesis (`)`). When a Javadoc comment starting with `///` contains an ordered list item formatted as `1) foo` or `1)the previous node`, CommonMark's parser identifies it as a `ListItem` node.
However, `MarkdownPositions.TokenVisitor.visitListItem` currently expects all ordered list items to match `LIST_ITEM_START_PATTERN`, which strictly checks for digits followed by `.` and a space. When a parenthesis list marker is encountered, `lookingAt()` returns `false`, and `verify()` throws a `VerifyException` that escapes the formatter.
Per[]
PiperOrigin-RevId: 943587323
0 commit comments