URLs in Rich Text Editor onjuist ontsnappen tilde-teken

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 likes

Bedankt voor het rapport, we zullen het onderzoeken!

A fix has been merged:

Thank you for reporting it.

4 likes

Dit onderwerp werd automatisch gesloten na 4 dagen. Nieuwe reacties zijn niet meer toegestaan.