리치 텍스트 에디터에 붙여넣은 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.

2개의 좋아요

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

A fix has been merged:

https://github.com/discourse/discourse/pull/34164

Thank you for reporting it.

4개의 좋아요

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