--- ECHO_content/vlp_xmlhelpers.py 2004/10/05 07:34:58 1.1
+++ ECHO_content/vlp_xmlhelpers.py 2004/10/06 13:02:56 1.4
@@ -63,9 +63,9 @@ def proj2hash(self,xmlstring):
addToDict(list,'WEB_project_header',sec[1]) # store title
addToDict(list,'WEB_project_description',sec[2]) #store description
else: # no information in heading
- level=sec[3]
- aTag=""%level
- eTag=""%level
+ level=int(sec[3])+2
+ aTag=""%level
+ eTag=""%level
addToDict(list,"text",aTag+sec[1]+eTag)
addToDict(list,"text",sec[2])
sectionXPath+="/section"
@@ -149,6 +149,7 @@ def par2html(self,pars,tags=None):
elif tagName=="pb":
html+=""
+
try: