lib/prez/assets.rb in prez-0.0.5 vs lib/prez/assets.rb in prez-0.0.6
- old
+ new
@@ -74,9 +74,13 @@
if options[:height]
attributes << %{height="#{options[:height]}"}
end
+ if options[:style]
+ attributes << %{style="#{options[:style]}"}
+ end
+
%{<img #{attributes.join " "} src="}
end
def close
%{" />}