lib/sinatra/static_assets.rb in sinatra-static-assets-1.0.0 vs lib/sinatra/static_assets.rb in sinatra-static-assets-1.0.1
- old
+ new
@@ -45,10 +45,10 @@
start_tag = "<#{name}#{tag_options(local_options) if local_options}"
if block_given?
content = yield
"#{start_tag}>#{content}</#{name}>"
else
- "#{start_tag}#{"/" if options.xhtml}>"
+ "#{start_tag}#{"/" if setting.xhtml}>"
end
end
def tag_options(options)
unless options.empty?