Don't ignore links between the last \n and the end of a buffer