From e9d4cdcd2b5665bcfd0ab27c0a230c8b4fa82693 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Sun, 30 Aug 2020 10:53:02 -0700 Subject: [PATCH] Use unfrozen string in meta page --- .../lib/middleman-core/meta_pages/sitemap_resource.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleman-core/lib/middleman-core/meta_pages/sitemap_resource.rb b/middleman-core/lib/middleman-core/meta_pages/sitemap_resource.rb index 7abd4ab6..b345c1c0 100644 --- a/middleman-core/lib/middleman-core/meta_pages/sitemap_resource.rb +++ b/middleman-core/lib/middleman-core/meta_pages/sitemap_resource.rb @@ -18,10 +18,10 @@ module Middleman classes << 'ignored' if @resource.ignored? content_tag :div, class: classes.join(' ') do content_tag :table do - content = '' + content = ''.dup resource_properties.each do |label, value| content << content_tag(:tr) do - row_content = '' + row_content = ''.dup row_content << content_tag(:th, label) row_content << content_tag(:td, value) row_content.html_safe