igor-alexandrov / wisepdf

Wkhtmltopdf wrapper done right
MIT License
281 stars 20 forks source link

Page Numbers Broken In 1.2.9 #17

Closed abstractcoder closed 11 years ago

abstractcoder commented 11 years ago

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.

igor-alexandrov commented 11 years ago

Fixed in 1.2.10. Thanks!