fix for html tags double quotes

This commit is contained in:
Harry Bomrah 2015-12-10 01:33:25 +08:00
parent 46c67cc0ab
commit e36bfddf0f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class AdBannersController < ApplicationController
"height" => adbanner.height,
"width" => adbanner.width,
"caption" => caption,
"context" => b.context,
"context" => (b.context.tr('"',"'") rescue ""),
"link" => b.out_link || "#",
"target" => target
}