Typo: Closes issue #11

Thanks to Paul Chavard ( http://github.com/tchak ) for
the report and fix.
This commit is contained in:
Mike West 2010-10-20 14:27:03 +02:00
parent 1b211bcc08
commit a43f0fc584

View File

@ -216,7 +216,7 @@ class Rocco
def highlight_webservice(code) def highlight_webservice(code)
Net::HTTP.post_form( Net::HTTP.post_form(
URI.parse('http://pygments.appspot.com/'), URI.parse('http://pygments.appspot.com/'),
{'lang' => @options['language'], 'code' => code} {'lang' => @options[:language], 'code' => code}
).body ).body
end end
end end