Index: emitter.c =================================================================== --- emitter.c (revision 22472) +++ emitter.c (working copy) @@ -570,7 +570,7 @@ flags |= SCAN_MANYNL_E; } if ( - ( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' ) ) || + ( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' || cursor[0] == '\n' ) ) || ( len > 1 && ( cursor[len-1] == ' ' || cursor[len-1] == '\t' ) ) ) { flags |= SCAN_WHITEEDGE;