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

Fallback主题渲染时不清理富文本部分 #526

Open
2 tasks done
YoruTubasa opened this issue Apr 20, 2024 · 1 comment · May be fixed by #553
Open
2 tasks done

Fallback主题渲染时不清理富文本部分 #526

YoruTubasa opened this issue Apr 20, 2024 · 1 comment · May be fixed by #553

Comments

@YoruTubasa
Copy link

YoruTubasa commented Apr 20, 2024

环境

  • nonebot-bison 版本:0.9.2
  • nonebot 版本:1.4.1
  • 安装方式:
    1. 通过 nb-cli 安装

问题

fallback导致的直接发送HTML文本

日志

制作组通讯#41期

<p>感谢大家一直以来对《明日方舟》的关注与支持,很高兴和大家再次见面。在本期制作组通讯发布之际,SideStory「巴别塔」活动已经开启了一段时间,欢迎大家进行体验。</p><p><br/>以下,则是本次制作组通讯为大家带来的最新一期的相关活动及版本内容:<br/><br/></p><div class="media-wrap image-wrap"><img src="https://web.hycdn.cn/announce/images/20240419/c8951a159730643eaae3d55c5c77ce3b.jpg"/></div><p><strong>【通讯节点·一】 </strong></p><p>◆《明日方舟》五周年庆典特别直播节目将于04月27日19:30进行。</p><p>◆ 观看地址:<a href="https://live.bilibili.com/5555734 " target="_blank">https://live.bilibili.com/5555734 </a> 或  <a href=" https://v.douyin.com/iLR...
--------------
来源: 明日方舟游戏信息 明日方舟游戏内公告
  • 我搜索过了 issue,但是并没有发现过与我类似的问题
  • 我确认在日志中去掉了敏感信息
@AzideCupric
Copy link
Collaborator

因为目前basic是直接把post.content发出来的,如果content里的文本是混杂有html标签的话,就会出现这种情况

@AzideCupric AzideCupric changed the title 指定主题渲染失败 Fallback主题渲染时不清理富文本部分 Jun 3, 2024
@GuGuMur GuGuMur linked a pull request Jun 8, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants