Skip to content

Engine: Add Support for ERB trimming#841

Merged
marcoroth merged 1 commit intomainfrom
engine-trim
Nov 11, 2025
Merged

Engine: Add Support for ERB trimming#841
marcoroth merged 1 commit intomainfrom
engine-trim

Conversation

@marcoroth
Copy link
Owner

@marcoroth marcoroth commented Nov 11, 2025

This pull request implements support for left trimming <%- and right trimming -%> in the Herb::Engine. This should now more closely match the compiled template Erubi::Engine produces and renders.

Resolves #649
Enables #650

@github-actions github-actions bot added the rbs label Nov 11, 2025
@marcoroth marcoroth merged commit a06c5e9 into main Nov 11, 2025
24 checks passed
@marcoroth marcoroth deleted the engine-trim branch November 11, 2025 08:37
marcoroth added a commit that referenced this pull request Dec 3, 2025
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.

Engine: ERB Whitespace trimming doesn't work

1 participant