Improve API compatibility with ERB templates #156

merged 1 commit into from Aug 5, 2012


None yet

2 participants


The current API for Tilt::ERBTemplate makes it impossible to disable trim mode in ERB::Compiler. Disabling trim mode is important in cases where ERB is used to generate something other than HTML.

Adding an explicit trim: false option to Tilt::ERBTemplate improves API compatibility with ERB while maintaining backward compatibility.


Seems sane. Merging.

@rtomayko rtomayko merged commit 91957e3 into rtomayko:master Aug 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment