ignore characters after | in link