Files
openclaw/extensions
ly-wang19 d63389ccf6 fix(qqbot): recognize GFM table separators with one or two dashes (#95637)
`isTableSeparatorLine` required 3+ dashes per cell (`/^:?-{3,}:?$/`), but a
GFM delimiter cell needs only one or more dashes. So a valid table whose
separator used 1 or 2 dashes (e.g. `|--|--|`) was not recognized: the header
stayed pending and was silently overwritten by each following row, so the
table's header, separator, and every row but the last vanished from the sent
message.

Accept `-+` so valid GFM separators are recognized, matching the spec and the
sibling LINE channel. Every existing test separator already uses 3+ dashes, so
they are byte-identical.

Co-authored-by: ly-wang19 <ly-wang19@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 18:27:01 +00:00
..
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00