Skip to content

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions