Render links on search results correctly