Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ForkKILLET opened this issue Dec 1, 2024 · 0 comments

Comments

@ForkKILLET
Copy link

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

  1. 交替出现的 br 元素和文本节点,例如 a<br />b(产生 a, \n, b 3 个 text 元素)
  2. 包裹在 template 中的文本,例如 a<>b</>c(产生 a, b, c 3 个 text 元素)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant