如果在您的个人简介中添加了 details 部分并将其打开,HTML 属性将不起作用。即使在最新的 discourse 中也会发生这种情况。
1 个赞
这难道不是设计如此,而不是一个bug?![]()
出于显而易见的安全原因,我们仅支持用户卡片中非常有限的样式/Markdown。
虽然这看起来不是一个安全问题,但我认为这是一个 bug,因为我们不应该允许 <details> 标签。
4 个赞
Turns out the issue was our excerpt parser which was trying to be too clever with <details>.
I decided it doesn’t quite make sense to have those in the excerpt and instead replaced the whole content of the <details> block with “▶ summary” (“summary” being what’s written as the summary of the details block), like how they appear in the browser by default.
2 个赞
此主题已在 13 小时后自动关闭。不再允许回复。


