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 missed H025 for double closing HTML tags #788

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

MrkGrgsn
Copy link
Contributor

I couldn't see any reason to keep orphaned closing tags in open_tags so store them separately to avoid accidental matches against subsequent closing tags.

Pull Request Check List

Resolves: #786

  • Added tests for changed code.
  • Updated documentation for changed code.

Copy link

netlify bot commented Nov 13, 2023

Deploy Preview for djlint canceled.

Name Link
🔨 Latest commit cf52faf
🔍 Latest deploy log https://app.netlify.com/sites/djlint/deploys/6551876c2a5b34000861f06a

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (16b2319) 95.47% compared to head (cf52faf) 95.48%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #788   +/-   ##
=======================================
  Coverage   95.47%   95.48%           
=======================================
  Files          16       16           
  Lines        1061     1062    +1     
  Branches      283      283           
=======================================
+ Hits         1013     1014    +1     
  Misses         33       33           
  Partials       15       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@christopherpickering christopherpickering changed the base branch from master to dev December 11, 2023 16:53
@christopherpickering
Copy link
Contributor

@MrkGrgsn thanks for this!

@christopherpickering christopherpickering merged commit b33f774 into djlint:dev Dec 11, 2023
44 checks passed
@christopherpickering
Copy link
Contributor

🎉 This PR is included in version 1.34.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

[BUG] [Linter] Linter doesn't raise H025 when there are matching pairs of orphan closing tags
2 participants