igor-alexandrov / wisepdf

Wkhtmltopdf wrapper done right

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page Numbers Broken In 1.2.9

abstractcoder opened this issue · comments

The recent change in parameter escaping seems to have broken the automatic page numbers. Here is my initializer:

Wisepdf::Configuration.configure do |c|
  c.options = {
    :footer => { 
      :center => "[page] of [topage]",
      :font_size => 10,
    }
  }
end

Here is the output:

Screen Shot 2013-03-08 at 10 30 57 AM

Rolling back to 1.2.8 fixes the issue.

Fixed in 1.2.10.
Thanks!