igor-alexandrov/wisepdf

NameError (undefined local variable or method `options'

gustavo43t opened this issue · 1 comments

Igor,

in render.rb, method prerender_header_and_footer,

# options[hf][:html] = "file://#{tf.path}" 
# must be
arguments[hf][:html] = "file://#{tf.path}" 

and thanks for your work!

Fixed in wisepdf 1.2.0.
Sorry for 1.1.x release it was a hotfix for my internal needs.