Skip to content

Unicode escape in card message causes ERROR #155

@Nigh

Description

@Nigh

如何复现问题?

使用web端 message-builder 即可复现。

[
  {
    "type": "card",
    "theme": "secondary",
    "size": "lg",
    "modules": [
      {
        "type": "section",
        "text": {
          "type": "kmarkdown",
          "content": "\u003c\u0026ÿĀĀĀ\u003etest\u003c$ÿĀ\u001c\u0003\u003e"
        }
      }
    ]
  }
]

你希望的输出是什么?

正确输出解码后的unicode字符或原文。

你得到什么结果?

报错:

卡片消息格式没有通过验证或者不存在
markdown_string不存在或者你没有权限操作

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions