tony_danza_bonanza 0 Posted April 23, 2019 Share Posted April 23, 2019 I'm a web developer and I'd love to store some snippets as code blocks but when I go to cut and paste from the Evernote code block to anywhere, even back into the Evernote code block, it strips out the <br> tags and inserts new line spaces! This is extremely frustrating and basically means the code snippet feature is unusable to me. Thanks Link to comment
Level 5* DTLow 5,736 Posted April 24, 2019 Level 5* Share Posted April 24, 2019 Are you coding in HTML Evernote stores note data in enml format, which is html based. I prefer to store my code snippets in text file attachments. Link to comment
loynis.armitage 8 Posted October 18, 2019 Share Posted October 18, 2019 I agree, this makes the code snippets useless for HTML code! I don't want to store the code in text file attachments, I want to store it in my note! Link to comment
Kevin LG 0 Posted January 4, 2021 Share Posted January 4, 2021 I recently started to notice this as well. Each time I save a HTML code snippet in a code block and that HTML snippet contains a <br> tag it will get removed so the code snipped looks odd from what I had intended to paste in it. After some testing and trying this and trying that I found that I could replace the <br> tag in the Evernote code block with a <br /> and this tag will not be removed in the Evernote code block. Additionally I can use the <br /> tag in my work and there doesn't seem to be any negative effects, at least so far. I am far from being an accomplished HTML coder so a question for all of you seasoned HTML experts out there. Is there a down side to using an HTML <br /> tag? I mostly use the <br /> tag for CR/LF in paragraph block and in HTML email.... Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now