fix xlarge broken again :/
authorgc <gc>
Sun, 31 Jul 2005 18:41:49 +0000 (18:41 +0000)
committergc <gc>
Sun, 31 Jul 2005 18:41:49 +0000 (18:41 +0000)
bin/booh-backend

index 83539dcdbc58ff345568bcd9368a1fa6608f247b..0a1e341d0a3b94d70562eaf3ee06fbcd4891e18c 100755 (executable)
@@ -824,7 +824,7 @@ def walk_source_dir
                         i.gsub!(/~~title~~/, xmldir.attributes['thumbnails-caption'] || utf8(File.basename(dir)))
                         i.gsub!(/~~thumbnails~~/, '<a href="thumbnails-' + sizeobj['name'] + '.html" id="thumbnails">' + utf8(_('return to thumbnails')) + '</a>')
                         i.gsub!(/~~theme~~/, $theme)
-                        i.gsub!(/~~current_size~~/, sizeobj['name'])
+                        i.gsub!(/~~current_size~~/, size2js(sizeobj['name']))
                         substitute_html_sizes(i, sizeobj, 'image')
                     end
                     ios = File.open("#{dest_dir}/image-#{size2js(sizeobj['name'])}.html", "w")