富文本编辑器中粘贴的URL不正确地转义了波浪号字符

Users of my Discourse site frequently paste URLs from the web documentation for the API of software they use. The URLs for pages in the API docs often have the tilde character ~ in them. When such links are pasted into the new rich text editor composer window, the tildes are improperly escaped. So, a URL like this:

https://help.solidworks.com/2023/english/api/sldworksapi/SolidWorks.Interop.sldworks~SolidWorks.Interop.sldworks.IFeatureManager.html

gets mangled to this:

https://help.solidworks.com/2023/english/api/sldworksapi/SolidWorks.Interop.sldworks\~SolidWorks.Interop.sldworks.IFeatureManager.html

Note the extra backslash before the tilde. The same link pasted into the Markdown composer window is not mangled.

1 个赞

Thank you for the report, we’ll look into it!

A fix has been merged:

Thank you for reporting it.

4 个赞

This topic was automatically closed after 4 days. New replies are no longer allowed.