预览和主题之间的标记存在差异。其中大多数差异与服务器端添加的某些内容(例如 one boxes)有关,但还有一些差异仅仅是它们在 DOM 中的位置不同。编辑器具有与帖子视图不同的 HTML 结构,这足以导致此类不受支持的行为出现差异。
eviltrout
(Robin Ward)
6
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Markdown preview and result differ | 6 | 1179 | 2023 年6 月 20 日 | |
| "Traditional markdown linebreaks" not reflected in preview | 3 | 1433 | 2017 年7 月 3 日 | |
| Incoming HTML Email Inconsistent | 4 | 1085 | 2017 年9 月 4 日 | |
| The "button" HTML5 tag renders in the editor previewer, but not rendered posts | 9 | 241 | 2025 年3 月 26 日 | |
| Discourse doesn't follow the CommonMark spec for HTML <pre> tags inside code spans | 5 | 2590 | 2017 年6 月 26 日 |