Jump to content
Jimm Chen

Copy/paste of code blocks sometimes drops line-breaks, long existing up to ver 6.13 (Windows desktop)

Recommended Posts

I'm using Windows 7 with Evernote 6.13.14.7474, and this long-existing problem still exists, and I hope it be fixed in near feature. It exists with 6.5 as well. 

For example, find a code block(text inside HTML <pre> tag) from https://docs.djangoproject.com/en/1.11/topics/db/models/#many-to-many-relationships , using Google Chrome v65, copy it and paste into an Evernote clip. You'll see that line-breaks are lost.

everpic-20180622_101729_159.png.c20b12911e164d70e62df77ecb1c6185.png

Pasting it into evclip, line-breaks in <pre> block are lost:

1219429459_snap13588Djangocodeprepasteline-breaklost.png.58de56d1905a8300f2e2d5682811dda1.png

I cannot figure out the rule this bug happens. It just happens sometimes on some web pages. It is especially annoying when the code block contains many lines(50 for example), and only several(5 for example) of the lines lose line breaks, because visually indentifying those 5 lines is not easy unless you carefully check, -- or better, understand -- the pasted code.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...