All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit e8c5ba2d authored by Timothy Stack's avatar Timothy Stack

Fix a bug with the line break code.

parent 3dd3de36
......@@ -246,7 +246,7 @@ function ml_handleReadyState(state) {
if (!firstLine && line.length > maxLineLength) {
var lastwhite = line.lastIndexOf(" ", maxLineLength);
if (lastwhite == 0)
if (lastwhite <= 0)
lastwhite = maxLineLength;
nextLine = line.substring(lastwhite);
line = line.substring(0, lastwhite) + " \\";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment