X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..a2ddcda9111894d11c297bd61da2c599060baf9c:/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..99b8d00a3 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| + safe_join(tags.map do |property, content| tag(:meta, :property => property, :content => content) - end.join("").html_safe + end, "\n") end end