the URL parser is failing because you are putting URL valid characters around it, the () always put spaces either side
Hum, looks like the links was pasted wrong (https://github.com/CodyTseng/jumble/issues/97) and (https://github.com/CodyTseng/jumble/pull/302)
Discussion
Yes, but on Primal works ok for example: https://primal.net/e/nevent1qqsdtd2n6568jgthw8j9tjzx3ycyut9q06h6ll34ucwpk2nhxaj89fqencemr
I reported the issue here: https://github.com/CodyTseng/jumble/issues/520
i have also had this argument about the validity of () in URLs because wikipedia uses them. this is partly why i don't like pablo, he was totally dismissive of this issue.
just need to know that as a rule you need to space separate URLs. always. brackets are the main reason.
there is no logic you can use to determine if close brace after a URL with no space are not part of teh URL. that's not a bug in the code that's a bug in the spec. braces should never have been permitted as valid URL characters but we are so far past the point where it has become common.