rtomayko/tilt — pull request #156 by ssimeonov (2012-08-02 02:00:23+00:00)
Title: Improve API compatibility with ERB templates

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.