fix relative link substition when & appears in the link