diff --git a/lib/query_report/report_pdf.rb b/lib/query_report/report_pdf.rb
index <HASH>..<HASH> 100755
--- a/lib/query_report/report_pdf.rb
+++ b/lib/query_report/report_pdf.rb
@@ -50,7 +50,7 @@ module QueryReport
     end
 
     def humanized_table_header
-      report_columns.collect(&:humanize)
+      report_columns.collect { |h| fix_content h.humanize }
     end
 
     def table_content_for(report)
@@ -59,7 +59,7 @@ module QueryReport
         item_values = []
 
         report_columns.collect(&:humanize).each do |column|
-          item_values << item[column].to_s
+          item_values << fix_content(item[column].to_s)
         end
         item_values
       end
@@ -89,6 +89,10 @@ module QueryReport
       end
     end
 
+    def fix_content(content)
+      content
+    end
+
     private
     def report_columns
       report.columns.select { |c| !c.only_on_web? }
diff --git a/spec/report/paginate_spec.rb b/spec/report/paginate_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/report/paginate_spec.rb
+++ b/spec/report/paginate_spec.rb
@@ -5,6 +5,10 @@ require 'query_report/paginate'
 describe QueryReport::PaginateModule do
   class DummyClass
     include QueryReport::PaginateModule
+
+    def paginate?
+      true
+    end
   end
 
   let(:object) { DummyClass.new }
Added feature to sanitize the pdf content