fix width= and height= in <img> elements
authorgc <gc>
Wed, 11 May 2005 19:41:22 +0000 (19:41 +0000)
committergc <gc>
Wed, 11 May 2005 19:41:22 +0000 (19:41 +0000)
bin/booh-backend

index aa4ce337c5664cc2b8c6c1c5fc177b3dcda1841c..582272c0ee220b329b1cab4638b0b75eed25cee6 100755 (executable)
@@ -342,7 +342,7 @@ end
 
 def img_element(fullpath)
     if size = get_image_size(fullpath)
-        sizespec = 'width="#{size[:x]}" height="#{size[:y]}"'
+        sizespec = 'width="' + size[:x].to_s + '" height="' + size[:y].to_s + '"'
     else
         sizespec = ''
     end