changeset 1159:b619a667a8e8 redmine-2.2-integration

fixes parameters for bibtex class to_citeproc call.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 15 Jan 2013 17:25:49 +0000
parents 00e9a262ffe5
children 4af3c83cd205
files plugins/redmine_bibliography/app/models/publication.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/redmine_bibliography/app/models/publication.rb	Tue Jan 15 16:08:00 2013 +0000
+++ b/plugins/redmine_bibliography/app/models/publication.rb	Tue Jan 15 17:25:49 2013 +0000
@@ -81,7 +81,7 @@
     end
 
     if style == :ieee
-      CiteProc.process bib.to_citeproc, :style => :ieee, :format => :html
+      CiteProc.process(bib.to_citeproc, :style => :ieee, :format => :html)
     else
       bibtex = bib.to_s :include => :meta_content
       bibtex.strip!