Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdarde authored and jdpace committed Jul 16, 2010
1 parent 3c6663b commit ec597b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/pdfkit/middleware.rb
Expand Up @@ -43,8 +43,7 @@ def call(env)
#find pdf_header and pdf_footer
def find_options_in_meta(body)
xml_body = REXML::Document.new(body)
xml_body.elements.each("html/head/meta[@name='pdkfit' @data-option-name='header']").each
{|e| @options.merge!(e.attributes("data-option-name").to_sym => e.attributes("content") ) }
xml_body.elements.each("html/head/meta[@name='pdkfit' @data-option-name='header']").each {|e| @options.merge!(e.attributes("data-option-name").to_sym => e.attributes("content") ) }
end


Expand Down

0 comments on commit ec597b0

Please sign in to comment.