koishijs / koishi

Cross-platform chatbot framework made with love
https://koishi.chat
MIT License
4.54k stars 249 forks source link

Bug: [Discord] 多行<p>元素发送会隔了两行 #1247

Closed eric2788 closed 1 year ago

eric2788 commented 1 year ago

Describe the bug

使用

<p>123</p>
<p>456</p>

发送时出现隔两行的现象

Steps to reproduce

发送多于一行 <p> 的 jsx 元素

Expected behavior

只隔一行

Screenshots

image

Versions

Additional context

先前 adapter-red 也有此问题,后来修复了: https://github.com/idanran/koishi-plugin-adapter-red/commit/2ca174c81b231d73c86a3c5e82d05168fc91cf50