Expand URLs before displaying them