Fixes URL link navigation with fragments not working properly.
Any background context you want to provide?
In my opinion, when a link contains a fragment in the code mirror, it seems that we cannot retrieve the text including the fragment using token.string. However, since the entire link is wrapped in a link-type span element, I have made changes to extract the url from the element, enabling proper navigation to the correct link.
What this PR does / why we need it?
Fixes URL link navigation with fragments not working properly.
Any background context you want to provide?
In my opinion, when a link contains a fragment in the code mirror, it seems that we cannot retrieve the text including the fragment using
token.string
. However, since the entire link is wrapped in a link-type span element, I have made changes to extract the url from the element, enabling proper navigation to the correct link.What are the relevant tickets?
Fixes #248
Checklist