lib/prez/assets.rb in prez-0.1.0 vs lib/prez/assets.rb in prez-0.1.1
- old
+ new
@@ -70,9 +70,13 @@
if options[:height]
attributes << %{height="#{options[:height]}"}
end
+ if options[:id]
+ attributes << %{id="#{options[:id]}"}
+ end
+
if options[:style]
attributes << %{style="#{options[:style]}"}
end
%{<img #{attributes.join " "} src="}