Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix auto-linking email #1338

Merged
merged 4 commits into from
Sep 18, 2018
Merged

Fix auto-linking email #1338

merged 4 commits into from
Sep 18, 2018

Conversation

Feder1co5oave
Copy link
Contributor

@Feder1co5oave Feder1co5oave commented Sep 18, 2018

Markdown flavor: GitHub Flavored

Description

Fixes #1218 (see comment)
Fixes #1307
Fixes #1327

I believe this complies better with the gfm spec.

Contributor

  • Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR)

@styfle
Copy link
Member

styfle commented Sep 18, 2018

This looks like a duplicate of PR #1337
I think I prefer #1337 because it fixes several bugs. And because it's LEET 😃

@Feder1co5oave
Copy link
Contributor Author

@styfle see #1218 (comment)

@Feder1co5oave
Copy link
Contributor Author

updated fix list

Copy link
Member

@UziTech UziTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1337 fix for this was just to move code span precedence above autolink but I like this solution better. We could merge this and I will fix merge conflicts in #1337

@styfle
Copy link
Member

styfle commented Sep 18, 2018

I didn't realize this fixes the strike-though and bold bugs too! Let me take a look again.

lib/marked.js Show resolved Hide resolved
@styfle styfle changed the title Fix 1218 Fix auto-linking email Sep 18, 2018
@styfle
Copy link
Member

styfle commented Sep 18, 2018

Alright I'll go ahead and merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants