Skip to content

Conversation

@marcoroth
Copy link
Owner

@marcoroth marcoroth commented Nov 1, 2025

This pull request introduces improved handling for <%# herb:disable %> comments in the formatter, ensuring that whitespace around the disable comments is preserved correctly and that they do not interfere with line wrapping or inline rendering and thus re-introduce linter offenses.

Resolves #738

@marcoroth marcoroth merged commit 1983e72 into main Nov 1, 2025
9 checks passed
@marcoroth marcoroth deleted the herb-disable-formatting branch November 1, 2025 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Formatter: Ignores <%# herb:disable %> comments and might re-introduce linter offenses

2 participants