From eaa5fdf2efcb2596d7f011c9afea15c1da546be7 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 15 Sep 2021 22:45:01 +0800 Subject: [PATCH] fix error --- app/controllers/ad_banners_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/ad_banners_controller.rb b/app/controllers/ad_banners_controller.rb index 1fde634..7da9a1c 100644 --- a/app/controllers/ad_banners_controller.rb +++ b/app/controllers/ad_banners_controller.rb @@ -142,8 +142,8 @@ class AdBannersController < ApplicationController extra_before_html = "" extra_after_html = "" if has_jplayer - extra_before_html = ActionController::Base.helpers.stylesheet_link_tag("ad_banner/jplayer.blue.monday.min") - extra_after_html = ActionController::Base.helpers.javascript_include_tag("ad_banner/jquery.jplayer") + extra_before_html = ActionController::Base.helpers.stylesheet_link_tag("ad_banner/jplayer.blue.monday.min").html_safe + extra_after_html = ActionController::Base.helpers.javascript_include_tag("ad_banner/jquery.jplayer").html_safe end { "extras" => {