Changeset 72
- Timestamp:
- 08/18/2006 11:32:16 (2 years ago)
- Files:
-
- 1 modified
-
branches/xhtml-careful/lib/markaby/builder.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/xhtml-careful/lib/markaby/builder.rb
r71 r72 230 230 end 231 231 232 # Builds a image tag. Assumes <tt>:border => '0', :alt => ''</tt>.233 def img(*opts, &blk)234 html_tag(:img).merge!(@@default[:image_tag_options]).pass(*opts, &blk)235 end236 237 232 # Builds a head tag. Adds a <tt>meta</tt> tag inside with Content-Type 238 233 # set to <tt>text/html; charset=utf-8</tt>.