Jump to content

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


Jimm Chen

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.

 

Link to comment
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...