Fix link in a way that works outside of the preview.