lib/hamlit/rails_template.rb in hamlit-2.7.0 vs lib/hamlit/rails_template.rb in hamlit-2.7.1
- old
+ new
@@ -10,9 +10,10 @@
Hamlit::Engine,
generator: Temple::Generators::RailsOutputBuffer,
register_as: :haml,
use_html_safe: true,
streaming: true,
+ buffer_class: 'ActionView::OutputBuffer',
)
# https://github.com/haml/haml/blob/4.0.7/lib/haml/template.rb
module HamlHelpers
require 'hamlit/parser/haml_xss_mods'