|
[HepData-svn] r1596 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/componentsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Nov 2 14:12:36 GMT 2012
Author: whalley Date: Fri Nov 2 14:12:35 2012 New Revision: 1596 Log: borderless table in insert Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java Thu Nov 1 11:57:03 2012 (r1595) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java Fri Nov 2 14:12:35 2012 (r1596) @@ -38,6 +38,7 @@ for(int n=0; n<bits.length; n++){ System.out.println("bits[n]: "+bits[n]); if(bits[n].equals("table")) { writer.element("table"); writer.attributes("border","1");} + else if(bits[n].equals("table0")) { writer.element("table"); writer.attributes("border","0");} else if(bits[n].equals("/table")){ writer.end(); } else if(bits[n].equals("tr")){ writer.element("tr"); } else if(bits[n].equals("/tr")) { writer.end(); }
More information about the HepData-svn mailing list |