[Rivet-svn] r3639 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Mar 21 12:54:17 GMT 2012


Author: richardn
Date: Wed Mar 21 12:54:16 2012
New Revision: 3639

Log:
fix to change > and < in html output to html tags so new hepforge works

Modified:
   trunk/bin/rivet-mkhtml

Modified: trunk/bin/rivet-mkhtml
==============================================================================
--- trunk/bin/rivet-mkhtml	Tue Mar 20 14:56:49 2012	(r3638)
+++ trunk/bin/rivet-mkhtml	Wed Mar 21 12:54:16 2012	(r3639)
@@ -262,7 +262,7 @@
         reflist.append('<a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+%s">Spires</a>' % spiresid)
     reflist += references
     index.write('<p>%s</p>\n' % " | ".join(reflist))
-    index.write('<p style="font-size:smaller;">%s</p>\n' % description)
+    index.write('<p style="font-size:smaller;">%s</p>\n' % description.replace("<","<").replace(">",">"))
     anapath = os.path.join(opts.OUTPUTDIR, analysis)
     if not opts.SINGLE:
         if not os.path.exists(anapath):


More information about the Rivet-svn mailing list