Fix link resolution in previews