Fixed JOIN_LINES did not work properly

This commit is contained in:
斟酌 鵬兄 2017-03-15 15:12:42 +08:00
parent c9c5ff25af
commit 68ee6dacc6

View File

@ -66,7 +66,10 @@
var content = feeder.content;
contentUndo = feeder.content.substring( start, end );
var l = content.length;
while( "\t ".indexOf( content[ end ] ) != -1 && end < l ) end ++;
contentUndo = content.substring( start, end );
feeder.content = content.substring( 0, start ) + " " + content.substr( end );
}