# HTML5 的“button”标签在编辑器预览中显示，但在帖子中未渲染

**URL:** <https://meta.discourse.org/t/the-button-html5-tag-renders-in-the-editor-previewer-but-not-rendered-posts/358811>\
**Category:** Bug\
**Created:** [2025 年3 月 25 日 18:39 UTC](https://meta.discourse.org/t/the-button-html5-tag-renders-in-the-editor-previewer-but-not-rendered-posts/358811 "2025-03-25T18:39:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
发布日期： [2025 年3 月 26 日 03:25 UTC](https://meta.discourse.org/t/the-button-html5-tag-renders-in-the-editor-previewer-but-not-rendered-posts/358811/4 "2025-03-26T03:25:00Z")

</div>

我明白了；这说得通！我同意这不是一种很好的体验。

如果你愿意，我制作了一个小插件，允许使用带有 `disabled` 属性的 `<button>`：[GitHub - Arkshine/discourse-markdown-allowlist](https://github.com/Arkshine/discourse-markdown-allowlist)

不幸的是，在这种情况下你无法进行设置，所以如果你想添加另一个标签，你需要自己 fork 我的仓库并在此处添加：[discourse-markdown-allowlist/assets/javascripts/lib/discourse-markdown/custom\_allow\_list.js at main · Arkshine/discourse-markdown-allowlist · GitHub](https://github.com/Arkshine/discourse-markdown-allowlist/blob/main/assets/javascripts/lib/discourse-markdown/custom_allow_list.js#L6)

---

_[View the full topic](https://meta.discourse.org/t/the-button-html5-tag-renders-in-the-editor-previewer-but-not-rendered-posts/358811)._
