atom/markdown-preview

Email inside of inline code tags (`) is incorrectly formatted

droberts-sea opened this issue · 2 comments

Prerequisites

Description

Inline code tags surrounding an email address render incorrectly. For example,

`name@example.com`

renders without code formatting, displays both backticks, and is a link:

image

Steps to Reproduce

  1. Create a markdown file, test.md, and open it in Atom
  2. Type `name@example.com`
  3. Save the file
  4. Open the markdown preview

Expected behavior: Should render "name@example.com", as code, no link

Actual behavior: Renders without code formatting, displays both backticks, and is a link:

image

Reproduces how often: 100%

Versions

$ atom --version
Atom    : 1.28.2
Electron: 2.0.5
Chrome  : 61.0.3163.100
Node    : 8.9.3
$ apm --version
apm  1.19.0
npm  3.10.10
node 6.9.5 x64
atom 1.28.2
python 2.7.10
git 2.17.0

OSX 10.11.6

Additional Information

rsese commented

Thanks for the report! I can reproduce on macOS 10.12.6 with 1.30.0-nightly9 but this looks like an issue with the Markdown renderer: markedjs/marked#1218.

We've recently upgraded the version of the markdown renderer and I've verified that this issue got solved! 🎉

Thanks for reporting!