X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1b181d4c1d595116dbe7fb8c1f5762d4a0d9f3f6..945c9a635ab815753550006cfe5c1f8c4999a68d:/app/helpers/open_graph_helper.rb?ds=sidebyside diff --git a/app/helpers/open_graph_helper.rb b/app/helpers/open_graph_helper.rb index 11cfe5030..a91457645 100644 --- a/app/helpers/open_graph_helper.rb +++ b/app/helpers/open_graph_helper.rb @@ -10,8 +10,8 @@ module OpenGraphHelper "og:description" => t("layouts.intro_text") } - tags.map do |property, content| - tag(:meta, :property => property, :content => content) - end.join("").html_safe + safe_join(tags.map do |property, content| + tag.meta(:property => property, :content => content) + end, "\n") end end