forked from Botanical/BotanJS
Fixed JOIN_LINES did not work properly
This commit is contained in:
parent
c9c5ff25af
commit
68ee6dacc6
@ -66,7 +66,10 @@
|
|||||||
|
|
||||||
var content = feeder.content;
|
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 );
|
feeder.content = content.substring( 0, start ) + " " + content.substr( end );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user