#1289 ✓resolved
Donna McMaster

another problem with Markdown escape

Reported by Donna McMaster | October 20th, 2015 @ 12:19 AM

This is related to ticket #1163.

I'm test-driving MailMate. I am in love with the tags and robustness. I'm okay with Markdown.

But I am bashing my head against a wall trying to reproduce the signature I've been using for years:

Cheers,
Donna
------
Donna McMaster
xxx@donnamcmaster.com
(555) 555-5555
http://www.donnamcmaster.com/

The problem is that Markdown interprets the row of hyphens as command to change "Donna" to an h2. Here's what I've tried:

  • use "-- " which works but looks odd as it's so short
  • other hyphen combos but they are interpreted as an hr (e.g., "-- --" or "- - - ")
  • "+----+", "-=-=-=-" and "<---->" work but look ugly

I also tried escaping the hyphens: "\-\-\-". This works IFF there is Markdown code in the message body. But if not, then it's displayed with the backslashes.

This seems as though it should be so simple! :) Any suggestions?

Thanks,
Donna

Comments and changes to this ticket

  • benny

    benny October 21st, 2015 @ 09:26 AM

    • State changed from “new” to “resolved”

    A possible workaround would be to use a different type of dash character. Here are 3 variants:

    -
    –
    —
    

    They have different widths as you might be able to see here: "-, –, —". Only the first one triggers Markdown transformation.

    This triggers all emails to use the UTF-8 encoding, but that should not be a problem for any receiving email clients. And if it is then it's only a problem for the dash characters themselves.

    Let me know if this does not solve your problem.

    Note that "-- " is a “standard” email signature separator. If used then it should be placed above the entire signature.

  • Donna McMaster

    Donna McMaster October 21st, 2015 @ 07:05 PM

    Thanks very much, Benny! I tried the n-dash and it works great.

    Donna

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages