你好,
我非常高兴能使用来自外部问题跟踪器的传入电子邮件。原始工单使用 markdown 格式。当它包含表格时,Discourse 的处理效果不佳,如下所示。
原始 markdown
Task was updated by in project Tasks at 14 Jul 2022 08:36.
<img style="border: 0;" src="upload://x.png" width="16" height="16" alt=""> [Link ](https://example.com)[Ticket name](https://example.com) Created by
| <img src="upload://y.svg" alt="" width="24" height="24"> | <br>| Поддержка | ОС | Ansible core (pkg) | Python |<br>| --- | --- | --- | --- |<br>| <ins>нет</ins> | RedOS 7.2 | 2.6.2 | 2.7.15 |<br>| <ins>+</ins> | RedOS 7.3 | 2.9.21 | 3.8.2 |<br>| <ins>+</ins> | MobaXterm | 2.11.10 | 3.6.8 |<br>| <ins>скорее +</ins> | Oracle Linux 8.5 | 2.12.2 (5.4.0) | 3.8.12 |<br>| <ins>скорее +</ins> | Ubuntu 20.04 | 2.9.6 | 3.8.10 |<br>| <ins>скорее +</ins> | Ubuntu 22.04 | 2.10.8 | 3.10.4 |<br>| <ins>скорее +</ins> | Debian 11 | 2.10.8 | 3.9.2 |<br><ins>
⏎</ins><br><ins>**Bold comment.**</ins><br>[View](https://example.com#focus=Comments-83-7062926.0-0) [Reply](https://example.com?replyTo=83-7062926)<br> |
| - | - |
| Relates to | [Ticket name ](https://example.com) |
| Resolved | Issue was resolved. |
| State | Open → Fixed |
我发现通过编辑帖子,将 \u003cbr\u003e 替换为 \r\n 可以使帖子更美观:
有人能帮忙在 Discourse 中实现这种转换吗?我找到了相关主题 https://meta.discourse.org/t/email-in-containing-br-b/67342,其中描述了一些更改。

