Commit 52a574e0b71d330e3d56291a117721cfdd835e91

Authored by Karpikau Andrei
1 parent c8032f81

test pdf

@@ -203,6 +203,7 @@ module Kanjai @@ -203,6 +203,7 @@ module Kanjai
203 #unless request.format.html? 203 #unless request.format.html?
204 css_path = "#{$scheme}#{ADMIN_CONFIG['domain_name']}#{ActionController::Base.helpers.asset_path('kanjai/pdf.css')}" 204 css_path = "#{$scheme}#{ADMIN_CONFIG['domain_name']}#{ActionController::Base.helpers.asset_path('kanjai/pdf.css')}"
205 layer.gsub!(/<\/head>/, '<link rel="stylesheet" href="'+ css_path +'"></head>') 205 layer.gsub!(/<\/head>/, '<link rel="stylesheet" href="'+ css_path +'"></head>')
  206 + layer.gsub!(/<meta charset/, '<link rel="stylesheet" href="'+ css_path +'"><meta charset')
206 #end 207 #end
207 208
208 209
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.96" 2 + VERSION = "0.0.97"
3 end 3 end