# HG changeset patch # User luisf # Date 1371562252 -3600 # Node ID 2abc48cc545e47bb65e9ddf0dad017321ef5039c # Parent 3783c5b32eb3eb61892ac1b9906eff839c2738b0 Escaping HTML in a few other places. diff -r 3783c5b32eb3 -r 2abc48cc545e plugins/redmine_bibliography/app/helpers/publications_helper.rb --- a/plugins/redmine_bibliography/app/helpers/publications_helper.rb Mon Jun 17 16:14:45 2013 +0100 +++ b/plugins/redmine_bibliography/app/helpers/publications_helper.rb Tue Jun 18 14:30:52 2013 +0100 @@ -123,7 +123,7 @@ def print_ieee_format(publication) Rails.cache.fetch("publication-#{publication.id}-ieee") do - publication.print_entry(:ieee) + publication.print_entry(:ieee).html_safe end end diff -r 3783c5b32eb3 -r 2abc48cc545e plugins/redmine_bibliography/app/models/publication.rb --- a/plugins/redmine_bibliography/app/models/publication.rb Mon Jun 17 16:14:45 2013 +0100 +++ b/plugins/redmine_bibliography/app/models/publication.rb Tue Jun 18 14:30:52 2013 +0100 @@ -101,11 +101,10 @@ 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! - logger.error { bibtex } end end end