terminal: Fix trailing single quote included when opening link from terminal (#33376)

Closes #33210 

Release Notes:

- Fixed an issue where a trailing single quote was included when opening
a link from the terminal.
308debe47fSarmad Gulzar committed on 6/25/2025, 2:21:33 PM· committed by GitHubparent0905255
1 file changedLine totals unavailable