|
[HepData-svn] r1800 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/componentsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue May 13 12:32:17 BST 2014
Author: whalley Date: Tue May 13 12:32:16 2014 New Revision: 1800 Log: putting papercomment into attribute Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayPaperComments.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayPaperComments.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayPaperComments.java Tue May 13 12:10:57 2014 (r1799) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayPaperComments.java Tue May 13 12:32:16 2014 (r1800) @@ -28,7 +28,8 @@ if (_paper != null) { List <String> comarray = new ArrayList(); StringBuffer b = new StringBuffer(); - writer.element("p class='papercomment'"); + writer.element("p"); + writer.attributes("class","papercomment"); for (String comment : _paper.getComments()){ comment = comment.replace(">", ">"); comment = comment.replace("<", "<");
More information about the HepData-svn mailing list |