Skip to content

[Bug] Markdown 语法解析问题,列表中链接无法正常渲染 #528

Closed

Description

@purocean

Describe the Bug

1.0.32 版本以后的消息发送,看起来换了一种消息形式。markdown 语法解析有问题,列表中链接无法正常渲染,是一个空链接

- [不能点击](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)
1. [不能点击](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)

[可以点击](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)

Steps to Reproduce

运行

dws chat message send \
  --group 'cidabX1HJNjXf7ZKryugs0DegKDzoCok9qGBQtHsgggv34=' \
  --title 'TEST' \
  --text $'- [不能点击](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)\n1. [不能点击](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)\n\n[可以点击](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)' \
  --format json

Expected Behavior

正常渲染链接可以点击

Actual Behavior

What actually happened, including any error messages or unexpected output.

Environment

  • OS: macOS
  • Architecture: arm64
  • CLI Version: 1.0.44

Activity

  1. haofeng0705 commented on Oct 12, 2026

    @haofeng0705
    Collaborator

    已使用 DWS v1.0.64-beta.1,通过原报告中的 dws chat message send --text ... 入口进行了真实消息复测,测试内容包含:

    - [无序列表链接](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)
    1. [有序列表链接](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)
    
    [普通段落链接](https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/issues)

    发送任务查询确认 sendStatus=SUCCESS。接收方提供的钉钉客户端截图显示三处链接文字均正常渲染,并已实际点击确认三处链接均可打开。

    本次当前版本的单聊场景未复现“列表中链接为空或无法点击”的问题。原报告的 v1.0.44 和群聊场景未在本次复测中覆盖,未定位具体修复提交,也未提交新的代码修复。

    基于本次实测和接收方确认,关闭此 issue。如升级后在群聊或特定客户端版本仍可复现,请补充 DWS 版本、钉钉客户端版本、实际命令及截图,以便继续定位。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions