peakshift / makers.bolt.fun

https://makers.bolt.fun
GNU General Public License v3.0
31 stars 21 forks source link

Markdown URLs do not escape trailing period #119

Closed secondl1ght closed 2 years ago

secondl1ght commented 2 years ago

If you write a URL in a stories post it will be detected as a link, however if you end the sentence including the link with a period '.' it will be included in the link URL and break the path. See below:

image

MTG2000 commented 2 years ago

Hey @secondl1ght

Thanks for pointing that out. Yeah, the auto linking feature isn't always correct, and sometimes it's automatically including parts in the url that shouldn't be like a period.

To solve that, I've added an 'insert link' to the toolbar that can be used in cases where the auto-linking can't detect the link correctly. It's now in the staging version, and should be deployed to production soon.

secondl1ght commented 2 years ago

awesome thanks, thats a good solution!

barefoot-88 commented 2 years ago

Agreed re: the 🔗 'insert link' button in the markdown toolbar. Thanks for flagging this issue @secondl1ght