Bug #1311 » syck_scan_scalar2.patch
ext/syck/emitter.c (working copy) | ||
---|---|---|
flags |= SCAN_MANYNL_E;
|
||
}
|
||
if (
|
||
( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' ) ) ||
|
||
( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' || cursor[0] == '\n' || cursor[0] == '\r' ) ) ||
|
||
( len > 1 && ( cursor[len-1] == ' ' || cursor[len-1] == '\t' ) )
|
||
) {
|
||
flags |= SCAN_WHITEEDGE;
|