fix #2514, "p=+\n1" should parse the same as "p=+"