Try to fix the broken links caused by multiple \ref on the same line.
SF bug #217195. Not sure if chomp() is correct, but chop() definitely has problems. This change seems to have no ill effects. Backport candidate if Fred agrees.
N
Neal Norwitz committed
d7bc0fec38e1b2de43e09a417907c12dab38e750
Parent: d8407a7