lib/slim/engine.rb in slim-2.0.2 vs lib/slim/engine.rb in slim-2.0.3

- old
+ new

@@ -5,20 +5,21 @@ # This overwrites some Temple default options or sets default options for Slim specific filters. # It is recommended to set the default settings only once in the code and avoid duplication. Only use # `define_options` when you have to override some default settings. define_options :pretty => false, :sort_attrs => true, + :format => :xhtml, :attr_quote => '"', :merge_attrs => {'class' => ' '}, :generator => Temple::Generators::ArrayBuffer, :default_tag => 'div' filter :Encoding, :encoding filter :RemoveBOM use Slim::Parser, :file, :tabsize, :shortcut, :default_tag, :attr_delims use Slim::Embedded, :enable_engines, :disable_engines, :pretty use Slim::Interpolation - use Slim::Splat::Filter, :merge_attrs, :attr_quote, :sort_attrs, :default_tag, :hyphen_attrs + use Slim::Splat::Filter, :merge_attrs, :attr_quote, :sort_attrs, :default_tag, :hyphen_attrs, :format use Slim::DoInserter use Slim::EndInserter use Slim::Controls, :disable_capture html :AttributeSorter, :sort_attrs html :AttributeMerger, :merge_attrs