Jump to content

mklement0

Level 2
  • Content Count

    24
  • Joined

  • Last visited

Community Reputation

3 Neutral

About mklement0

  1. Thanks again. One for the road: Evernote clearly recognizes these line breaks when *rendering* - everything *looks* as expected. The line breaks only disappear on *copying* (and can be made to reappear with my expand-the-selection-beyond-the-snippet trick).
  2. Thanks for the useful background info about formats. Understood re round-tripping, but in the case at hand the round-trip (even to plain text) is fundamentally broken (newlines replaced with spaces). The problem does appear to relate to the HTML created by http://tohtml.com/, and I've let the maintainers know, but here's what makes me think the problem is on the Evernote side: Copying the same HTML to TextEdit (a text editor that comes with OS X) and then from there back elsewhere (whether to plain text or not) works correctly.In Evernote, including just one line *outside* the pasted snippet when copying back out makes the problem go away.One thing that is unusual about the HTML created: The newlines in the formatted code are represented as *literal* newlines, not as markup. (Re clipboard terminology: I think that "clipboard" is the term used these days on the Mac too, though you can find references (even in the names of CLIs) to "pasteboard" on occasion, due to OS X's NeXTSTEP heritage).
  3. Thanks - I've since clarified that I was talking about the Mac client and made it clearer that I was talking about snippets from http://tohtml.com/. Good to hear that it works well on Windows, but just to clarify: does it work OK when you copy a previously pasted RTF snippet back out of Evernote? The Mac / http://tohtml.com/ issue isn't one of faithful rendering, it's a problem of copying the snippet out of Evernote elsewhere later.
  4. Sadly, this bug still exists as of Evernote for the Mac 6.0.6: Copying a formatted snippet from http://tohtml.com into Evernote then produces garbled results (line breaks are replaced with spaces) when later copying from Evernote elsewhere (such as into a plain-text editor).Workaround: If the selection in Evernote contains at least 1 line OUTSIDE of the originally pasted code snippet, copying works fine.Upshot: You can't (easily) copy parts of such code snippets elsewhere.I don't know the reason - it may be specific to the HTML generated by http://tohtml.com/.
  5. http://discussion.evernote.com/topic/40683-simple-way-to-mimic-code-formatting/ Sadly, that link is dead now. Try https://discussion.evernote.com/topic/44714-request-embed-code-snippets-with-auto-formatting-and-syntax-highlighting/
  6. Cool - thanks for the tip. CAVEAT, as of Evernote 6.0.6 for the Mac Copying a formatted snippet created at http://tohtml.com/ into Evernote then produces garbled results (line breaks are replaced with spaces) when later copying from Evernote elsewhere (such as into a plain-text editor).Workaround: If the selection in Evernote contains at least 1 line OUTSIDE of the originally pasted code snippet, copying works fine.Upshot: You can't (easily) copy parts of such code snippets elsewhere.I don't know the reason - it may be specific to the HTML generated by http://tohtml.com/. [Edit: clarification added after feedback from @jefito]
×
×
  • Create New...