Skip to content

Fix style/script tag indentation by treating them as openOnceTag - #33

Merged
miekg merged 1 commit into
miekg:mainfrom
jmmaranan:main
Mar 12, 2026
Merged

miekg merged 1 commit into
miekg:mainfrom
jmmaranan:main

Conversation

@jmmaranan

Copy link
Copy Markdown
Contributor
  • Add style and script to openOnceTag map to prevent content indentation
  • Add test cases for both style and script tags
  • Fixes issue where CSS/JS content would be indented further on each format

- Add style and script to openOnceTag map to prevent content indentation
- Add test cases for both style and script tags
- Fixes issue where CSS/JS content would be indented further on each format
@miekg
miekg merged commit 99223e4 into miekg:main Mar 12, 2026
1 check passed
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