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-22 19:33:21 +02: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-22 09:37:09 +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-22 02:50:55 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 17:15:40 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 16:12:51 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 17:38:57 +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 16:42:27 +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-19 00:33:04 +08:00
2026-06-22 16:32:50 +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-22 18:35:14 +02:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 19:52:02 +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-22 16:12:51 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 19:38:30 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 17:39:25 +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-22 13:55:36 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 16:57:03 +08:00
2026-06-22 19:08:00 +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-22 15:48:43 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 17:20:54 +00:00
2026-06-21 12:24:15 +08:00
2026-06-22 18:06:55 +00:00
2026-06-22 16:12:51 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 06:28:54 -07:00
2026-06-21 12:24:15 +08:00
2026-06-22 17:22:15 +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-22 16:12:51 +08:00
2026-06-22 18:50:59 +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-22 18:47:24 +08:00
2026-06-22 18:08:05 +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-04 21:02:07 -04: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-23 02:24:29 +08:00
2026-06-22 02:45:56 -07:00
2026-06-21 12:24:15 +08:00
2026-06-22 18:27:01 +00:00
2026-06-22 18:42:40 +08:00
2026-06-22 21:25:38 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 16:12:51 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 16:12:51 +08:00
2026-06-22 19:16:55 +08:00
2026-06-22 16:12:51 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 17:45:59 +08:00
2026-06-21 12:24:15 +08:00
2026-06-04 21:02:07 -04:00
2026-06-22 16:12:51 +08:00
2026-06-22 18:04:28 +00:00
2026-06-22 16:12:51 +08:00
2026-06-19 01:20:06 +08:00
2026-06-04 21:02:07 -04:00
2026-06-22 22:12:48 +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-22 16:12:51 +08:00
2026-06-22 18:26:10 +08:00
2026-06-21 12:24:15 +08:00
2026-06-22 18:42:40 +08:00
2026-06-22 22:18:49 +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-22 17:47:10 +08:00
2026-06-22 19:11:46 +08:00
2026-06-22 11:50:50 -06:00
2026-06-21 12:24:15 +08:00
2026-06-22 16:12:51 +08:00
2026-06-21 12:24:15 +08:00
2026-06-21 12:24:15 +08:00
2026-06-06 18:34:54 +02:00
2026-06-19 01:20:06 +08:00
2026-06-06 18:34:54 +02:00