html-get
html-get copied to clipboard
prerender: The `url` is triming the fragment under prerender
Bug Report
Current Behavior
When saving a URL that includes a fragment identifier, the meta API url response field strips out any fragment identifier that was in the original URL
In: https://example.com/#hello Out: https://example.com/
Expected behavior/code
I expect the url field to show what's in the browser address bar after the page loads. If following the link in my browser preserves the fragment, so should Microlink.
Additional context/Screenshots
This is a problem for my use case: I use the url field to get a canonical link to show users, since it resolves HTTPS redirects, shortlinks, etc.
I can't do that if the url field strips out important data (text highlights, or which part of the page is being linked to).