fix parser for ABC (for SP/LF at end of text)