Dimillian / IceCubesApp

A SwiftUI Mastodon client
https://apps.apple.com/us/app/ice-cubes-for-mastodon/id6444915884
GNU Affero General Public License v3.0
5.56k stars 539 forks source link

Bug: URL ending with ")" character not parsed correctly #2209

Open clanger9 opened 1 month ago

clanger9 commented 1 month ago

Environment:

Description

Adding the following text to a post: https://en.wikipedia.org/wiki/Ford_Taunus#Second_generation_12M_(1959–1962) Causes it to be rendered in the post as the following HTML: <a href="https://en.wikipedia.org/wiki/Ford_Taunus#Second_generation_12M_(1959–1962">https://en.wikipedia.org/wiki/Ford_Taunus#Second_generation_12M_(1959–1962</a>)

i.e. the original trailing bracket is excluded from the URL. The trailing bracket should be included in the URL.

SURYAKANTSHARMA commented 2 weeks ago

simulator_screenshot_CF96D5AA-3901-40AA-B645-112CEBF3536E @clanger9 is n't it is working fine ?

Screenshot 2024-11-07 at 6 55 30 PM

Only I can see ) at end of url is not highlighted