CMD+A and paste it into an email adds the Table of contents to an email

Jean-Claude Jung's Avatar

Jean-Claude Jung

02 Jul, 2013 09:50 PM

I am using Marked to write well formatted HTML emails. When I mark all and then pasting the output into an Email (GMAIL) the Table of contents is not visible but the recipients get see the Table of Content.
How this can be avoided?

  1. Support Staff 1 Posted by Brett on 02 Jul, 2013 10:25 PM

    Brett's Avatar

    Could you send me a sample file that this happens to? And which version of Marked are you currently using?

    Thanks,
    Brett

  2. 2 Posted by Jean-Claude Jun... on 03 Jul, 2013 06:03 AM

    Jean-Claude Jung's Avatar

    Attached:
    - the .md file
    - CMD+A, Copy&Paste with compose mail → no TOC
    - Recipient see the TOC

  3. 3 Posted by Jean-Claude Jun... on 03 Jul, 2013 07:24 AM

    Jean-Claude Jung's Avatar

    Further analysis results: By using CMD+A and paste it into a plain text editor it always contains the TOC at the end of the file. This may happen because Marked document generates the TOC and add it to the document in hidden mode. When using CMD+A it copies the hidden text as well. So, easy to reproduce with every plain text editor

    By the way, I am using Marked version 1.4.3 (228)

  4. 4 Posted by Jean-Claude Jun... on 09 Jul, 2013 09:38 AM

    Jean-Claude Jung's Avatar

    Any news on if the issue can be reproduced or not?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac