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 mismatched code span issue when sanitizing mentions #1474

Merged
merged 2 commits into from
Oct 27, 2019

Conversation

pedropombeiro
Copy link

This PR fixes the failing test added by @greysteil in #1469. That PR can be closed once this one gets merged.

It improves the detection of fenced code blocks by ensuring they start in a line boundary, and also improves detection of code spans to not acknowledge ones that include empty lines.

@greysteil
Copy link
Contributor

Thank you! Test failure is unrelated so I'm going to merge. @feelepxyz can you get this deployed tomorrow?

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

Successfully merging this pull request may close these issues.

2 participants