如何处理编码错误的URL?

您好,

有些网址(例如西里尔文网址)看起来像这样:

是否有任何设置可以正确显示此类网址?Onebox 可以正常显示它们(至少在编辑器中):

但我不喜欢主题中出现太多 Onebox :slight_smile:

我很困惑。如果 onebox 没问题,那么这个错误的例子是怎么发生的?你能贴一张编辑器里它看起来像什么的截图吗?

每当我粘贴链接时,我通常只是输入描述,选中它,使用 Ctrl+K,然后粘贴地址。如果你采用几天前(2.8.0.beta9)的更新,你就可以得到更简单的版本。你只需写下你想要超链接的文本,选中它,然后粘贴 URL。

1 个赞

Here it is:

I’m not sure that I got every benefit of that. Most use for me - copy and paste


<div style="page-break-after: always;"><</div>

to Typora editor (I use Discourse as a source of Markdown notes and short documents for DevOps).

With new update this is copied as formatted code, not as plain text. Typora used to handled such construction as html code (auto detected) and made a page brake during next conversion to PDF. Now my favorite editor thinks that it is pasted as code now (by default with ruby formatting). Finally I mean that now I cannot safely use Discourse as code source. The data comes to clipboard not as plain text. Maybe that was designed as lazy feature, but for perfectionists like me such updates break their usual lifestyle)

Anyway that’s my opinion, my case is very rare.