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 truncation of heading tags #17

Merged
merged 1 commit into from Feb 4, 2022
Merged

Conversation

tobyzerner
Copy link
Contributor

The regex only allowed alpha characters in tag names, so <h1-6> elements were being closed as </h>.

Added a failing test case along with the fix.

@mrcgrtz mrcgrtz self-assigned this Feb 4, 2022
@mrcgrtz mrcgrtz added the bug label Feb 4, 2022
@coveralls
Copy link

coveralls commented Feb 4, 2022

Pull Request Test Coverage Report for Build 1792133351

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.4%) to 92.105%

Totals Coverage Status
Change from base Build 1773200314: 0.4%
Covered Lines: 105
Relevant Lines: 114

💛 - Coveralls

@mrcgrtz
Copy link
Owner

mrcgrtz commented Feb 4, 2022

Awesome, thank you!

@mrcgrtz mrcgrtz merged commit f34d530 into mrcgrtz:main Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants