Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allowing overriding of the Producer metadata in a generated PDF

  • Loading branch information...
commit 38fc3deed063de94a81c2c6c524ae2dc86ab2d5c 1 parent d06f81b
@andrewtimberlake authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/prawn/core/document_state.rb
View
2  lib/prawn/core/document_state.rb
@@ -41,7 +41,7 @@ def populate_pages_from_store(document)
def normalize_metadata(options)
options[:info] ||= {}
options[:info][:Creator] ||= "Prawn"
- options[:info][:Producer] = "Prawn"
+ options[:info][:Producer] ||= "Prawn"
info = options[:info]
end
Please sign in to comment.
Something went wrong with that request. Please try again.