diff --git a/app/views/campaigns/_schema.html.erb b/app/views/campaigns/_schema.html.erb index b83fc74f..6db1aa92 100644 --- a/app/views/campaigns/_schema.html.erb +++ b/app/views/campaigns/_schema.html.erb @@ -1,23 +1,27 @@ <%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> - diff --git a/app/views/campaigns/show.html.erb b/app/views/campaigns/show.html.erb index d4f002e1..7e3dc9f2 100644 --- a/app/views/campaigns/show.html.erb +++ b/app/views/campaigns/show.html.erb @@ -1,7 +1,7 @@ <%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> <%= content_for(:title_prefix) { "#{@campaign.name} - #{@campaign.nonprofit.name} | ".html_safe } %> <% content_for(:fixed_position_cta_hidden) {'hidden'} %> -<%= content_for(:meta_description) {raw @campaign.summary} %> +<%= content_for(:meta_description) {@campaign.summary} %> <% @brand_color = @nonprofit.brand_color ? @nonprofit.brand_color : nil %> <%= content_for :javascripts do %> @@ -44,14 +44,14 @@ <% end %> <%= content_for :facebook_tags do %> - - + + <% end %> <%= content_for :twitter_tags do %> - - + + <% end %> diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb index 4448ee20..4cbbd221 100644 --- a/app/views/events/show.html.erb +++ b/app/views/events/show.html.erb @@ -1,20 +1,20 @@ <%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> <%= content_for(:title_prefix) {"#{@event.name} - #{@event.nonprofit.name}".html_safe} %> -<%= content_for(:meta_description) {raw @event.summary} %> +<%= content_for(:meta_description) {@event.summary.html_safe} %> <%= content_for(:stylesheets) {stylesheet_link_tag 'events/show/page'} %> <% content_for(:fixed_position_cta_hidden) {'hidden'} %> <% @brand_color = @nonprofit.brand_color ? @nonprofit.brand_color : nil %> <%= content_for :facebook_tags do %> - - + + <% end %> <%= content_for :twitter_tags do %> - - + + <% end %> diff --git a/app/views/events/stats.html.erb b/app/views/events/stats.html.erb index 2a49851f..363ce144 100644 --- a/app/views/events/stats.html.erb +++ b/app/views/events/stats.html.erb @@ -1,19 +1,19 @@ <%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> <%= content_for(:title) {"#{@event.name} - #{@event.nonprofit.name}".html_safe} %> -<%= content_for(:meta_description) {raw @event.summary} %> +<%= content_for(:meta_description) {@event.summary} %> <%= content_for(:stylesheets) {stylesheet_link_tag 'events/stats/page'} %> <% content_for(:footer_hidden) {'hidden'} %> <% content_for(:fixed_position_cta_hidden) {'hidden'} %> <%= content_for :facebook_tags do %> - - + + <% end %> <%= content_for :twitter_tags do %> - - + + <% end %> diff --git a/app/views/layouts/_meta_tags.html.erb b/app/views/layouts/_meta_tags.html.erb index a3b98d78..705aecb7 100644 --- a/app/views/layouts/_meta_tags.html.erb +++ b/app/views/layouts/_meta_tags.html.erb @@ -6,7 +6,7 @@ <% description = "Robust and user-friendly nonprofit fundraising tools. Campaigns, donor management, donation processing and event ticketing." %> -