Closed ttaylor-st closed 3 weeks ago
I think we should probably add a target="_blank"
attribute to the new a
tag. The reason being that if the image is opened in the same browser tab, then all the state of the React app would be lost when the user comes back to the website, and, most crucially, the back button would most likely be broken.
Done!
Fixes #102
All internal links were previously handled with
Link
, this PR adds an exception for internal links that begin with/images
, which will now instead usea
.