fix bug with multiple [..|..] links