@ulthon/ul-opencode-event 0.1.18 → 0.1.19
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/dist/dingtalk.js +2 -2
- package/package.json +1 -1
package/dist/dingtalk.js
CHANGED
|
@@ -91,8 +91,8 @@ export function createDingTalkFormatter(config) {
|
|
|
91
91
|
// Default: escape special characters and pass through
|
|
92
92
|
processedLines.push(escapeMarkdown(trimmed));
|
|
93
93
|
}
|
|
94
|
-
// 3. Join
|
|
95
|
-
let text = processedLines.join('\n');
|
|
94
|
+
// 3. Join with double newlines (DingTalk Markdown requires \n\n for line breaks)
|
|
95
|
+
let text = processedLines.join('\n\n');
|
|
96
96
|
if (text.length > MAX_CONTENT_LENGTH) {
|
|
97
97
|
text = text.slice(0, TRUNCATE_KEEP_LENGTH) + TRUNCATE_SUFFIX;
|
|
98
98
|
}
|
package/package.json
CHANGED