*** empty log message ***
[booh] / bin / booh-backend
index f520cae00a3f622e8103b7919f8ccffd026194a2..161f3d0ecfa5e19daf7f85e1f5d5af859b4719e5 100755 (executable)
@@ -1162,7 +1162,7 @@ def walk_source_dir
                     parent = xmldir.parent
                     while parent.name == 'dir'
                         parentcaption = parent.attributes['subdirs-caption']
                     parent = xmldir.parent
                     while parent.name == 'dir'
                         parentcaption = parent.attributes['subdirs-caption']
-                        nav = "<a href='#{path}/index.html'>#{parentcaption}</a> #{utf8(_(" > "))} #{nav}"
+                        nav = "<a href=\"#{path}/index.html\">#{parentcaption}</a> #{utf8(_(" > "))} #{nav}"
                         path += '/..'
                         parent = parent.parent
                     end
                         path += '/..'
                         parent = parent.parent
                     end
@@ -1183,7 +1183,7 @@ def walk_source_dir
                 gen_thumbnails_subdir(from_utf8(xmldir.attributes['thumbnails-captionfile']), xmldir, false,
                                       [ { 'filename' => thumbnail, 'size' => $albums_thumbnail_size } ], 'thumbnails')
                 html_index += run_iterations(iterations, 1)
                 gen_thumbnails_subdir(from_utf8(xmldir.attributes['thumbnails-captionfile']), xmldir, false,
                                       [ { 'filename' => thumbnail, 'size' => $albums_thumbnail_size } ], 'thumbnails')
                 html_index += run_iterations(iterations, 1)
-                html_index.gsub!(/~~image_iteration~~/, "<a href='thumbnails.html'>" + img_element(thumbnail) + '</a>')
+                html_index.gsub!(/~~image_iteration~~/, "<a href=\"thumbnails.html\">" + img_element(thumbnail) + '</a>')
                 html_index.gsub!(/~~caption_iteration~~/, xmldir.attributes['thumbnails-caption'])
             end
 
                 html_index.gsub!(/~~caption_iteration~~/, xmldir.attributes['thumbnails-caption'])
             end
 
@@ -1199,7 +1199,7 @@ def walk_source_dir
                 gen_thumbnails_subdir(captionfile, child, false,
                                       [ { 'filename' => thumbnail, 'size' => $albums_thumbnail_size } ], find_subalbum_info_type(child))
                 html_index.gsub!(/~~caption_iteration~~/, caption)
                 gen_thumbnails_subdir(captionfile, child, false,
                                       [ { 'filename' => thumbnail, 'size' => $albums_thumbnail_size } ], find_subalbum_info_type(child))
                 html_index.gsub!(/~~caption_iteration~~/, caption)
-                html_index.gsub!(/~~image_iteration~~/, "<a href='#{make_dest_filename(subdir)}/index.html'>" + img_element(thumbnail) + '</a>')
+                html_index.gsub!(/~~image_iteration~~/, "<a href=\"#{make_dest_filename(subdir)}/index.html\"'>" + img_element(thumbnail) + '</a>')
             }
 
             html_index += close_iterations(iterations)
             }
 
             html_index += close_iterations(iterations)