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

Do not escape hyphens unnecessarily #255

Merged
merged 1 commit into from
Aug 28, 2018
Merged

Do not escape hyphens unnecessarily #255

merged 1 commit into from
Aug 28, 2018

Conversation

domchristie
Copy link
Collaborator

Hyphens are only used in:

  1. Unordered lists
  2. Horizontal rules
  3. Setext headings

Each of these begins a line, so we only need to escape - when it appears at the start of a line.

@domchristie domchristie merged commit e7376b6 into master Aug 28, 2018
@domchristie domchristie deleted the escaping_hyphens branch August 28, 2018 00:43
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.

1 participant