我注意到在 Homepage Feature 中,主题安装包裹内的引号在编辑后消失了。
我认为这是富文本编辑器(RTE)导致的。我尝试寻找一个最小复现步骤:
- 在 Markdown 模式下,将以下内容粘贴到编辑器中
[wrap=theme-install-button repo-name="Homepage Feature" repo-url=https://github.com/discourse/discourse-homepage-feature-component]
Install this theme component
[/wrap]
test
- 使用切换按钮切换到富文本编辑器(RTE)
- 再次使用切换按钮,检查“Homepage Feature”周围的引号是否仍然存在。在我的测试中,引号按预期存在。
- 在草稿中添加 official
[wrap=theme-install-button repo-name="Homepage Feature" repo-url=https://github.com/discourse/discourse-homepage-feature-component]
Install this theme component
[/wrap]
test #official
- 再次切换到富文本编辑器,然后切换回 Markdown 模式
预期结果: 引号仍然存在。
实际结果: 引号缺失,导致使用按钮的用户被询问是否要安装“Homepage”。
