chatccc 0.2.99 → 0.2.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/feishu-api.ts +1 -1
package/package.json
CHANGED
package/src/feishu-api.ts
CHANGED
|
@@ -549,7 +549,7 @@ function wrapMarkdownTables(text: string): string {
|
|
|
549
549
|
let foundSeparator = false;
|
|
550
550
|
|
|
551
551
|
const isTableRow = (line: string): boolean =>
|
|
552
|
-
/^\s*\|.+\|/.test(line);
|
|
552
|
+
/^\s*\|.+\|/.test(line) && !isSeparatorRow(line);
|
|
553
553
|
|
|
554
554
|
const isSeparatorRow = (line: string): boolean =>
|
|
555
555
|
/^\s*\|[\s\-:]+\|/.test(line) && /-/.test(line);
|