1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Use unfrozen string in meta page

This commit is contained in:
Thomas Reynolds 2020-08-30 10:53:02 -07:00
parent 72065341c7
commit e9d4cdcd2b

View file

@ -18,10 +18,10 @@ module Middleman
classes << 'ignored' if @resource.ignored? classes << 'ignored' if @resource.ignored?
content_tag :div, class: classes.join(' ') do content_tag :div, class: classes.join(' ') do
content_tag :table do content_tag :table do
content = '' content = ''.dup
resource_properties.each do |label, value| resource_properties.each do |label, value|
content << content_tag(:tr) do content << content_tag(:tr) do
row_content = '' row_content = ''.dup
row_content << content_tag(:th, label) row_content << content_tag(:th, label)
row_content << content_tag(:td, value) row_content << content_tag(:td, value)
row_content.html_safe row_content.html_safe