After I use the Postlight Reader Extension, I expect all links in the cleaned article to be functional.
Current Behavior
In the cleaned document (presented by the Postlight Reader extension), Links go from
/path (relative url)
to
chrome-extension://oknpjjbmpnndlpmnhmekjpocelpnlfdi/path.
Expected Behavior
After I use the Postlight Reader Extension, I expect all links in the cleaned article to be functional.
Current Behavior
In the cleaned document (presented by the Postlight Reader extension), Links go from
/path
(relative url) tochrome-extension://oknpjjbmpnndlpmnhmekjpocelpnlfdi/path
.Steps to Reproduce
Possible Solution
While the article is being cleaned, retrieve the domain name and suffix all relative urls (
href="/path"
) with the domain (href="domain.com/path"
).Cool stuff, thank you :)