Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

escaping markdown header seems buggy

#1163

create a new mail with markdown formatting:

# header 1

# header 2

looks like this:

header 1

header 2


now escape one #

# header 1

\# header 2

looks like this:

header 1

# header 2


now escape both #

\# header 1

\# header 2

looks like this:

\# header 1

\# header 2


I would expect it to look like two plain #'s, without the backslash.

Reported by Charlie Allom · May 21st, 2015 @ 10:20 AM

State: reproduced
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to reproduced

    This is why it happens: In your last example MailMate detects that Markdown is not really needed and therefore it is disabled when generating the message (too keep it nice and simple).

    The fix seems to be to remove escape characters when Markdown is enabled but not needed. The problem with that is that if you edit the message later then the escape characters won't return. That's tricky to solve.

    May 21st, 2015 @ 10:47 AM

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.