Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pasting or creating specific link introduces a bugged empty line #778
I couldn't reproduce this with any link, but this one seems to break the editor consistently:
Either pasting this as a link or pasting the text and adding the link afterwards results in a newline being added before the link. From the erroneous empty line before the link the cursor cannot move down. Moving the cursor right makes it jump to the second character on the second line (inside the link). This new line cannot be deleted.
From what I can tell it's to do with the length of the link, if the link is long enough to wrap onto a new line the bug will happen. You can probably get around it by selecting some text and hitting