backport175

Parsing of annotations with \n and \r is broken