Skip to content
Snippets Groups Projects
Commit debc00d9 authored by deuce's avatar deuce
Browse files

Do not strip the quote prefix when a hard CR is detected due to leading

spaces on the next line.
parent 4a211fb5
Branches
Tags
No related merge requests found
......@@ -944,8 +944,8 @@ js_word_wrap(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
linebuf[l++]='\r';
linebuf[l++]='\n';
outbuf_append(&outbuf, &outp, linebuf, l, &outbuf_size);
l=0;
ocol=1;
l=prefix_bytes;
ocol=prefix_len+1;
}
else {
if(icol < oldlen) { /* If this line is overly long, It's impossible for the next word to fit */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment