Skip to content

特定结构的消息元素转换成 onebot 元素时,会产生多余的连续 text 元素,导致某些后端无法发送 #59

@ForkKILLET

Description

@ForkKILLET

以下两种结构的消息元素转换成 onebot 元素时,会产生多余的连续 text 元素,导致某些后端无法发送

  1. 交替出现的 br 元素和文本节点,例如 a<br />b(产生 a, \n, b 3 个 text 元素)
  2. 包裹在 template 中的文本,例如 a<>b</>c(产生 a, b, c 3 个 text 元素)

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