1
0
Fork 0

Ignore empty lines in html output.

This commit is contained in:
ThorstenB 2012-03-25 10:34:50 +02:00
parent 11a9bdf29e
commit 924468169d

View file

@ -135,7 +135,9 @@ def output_text(top_namespaces,modules,version):
if comment.find('=====')!=-1:
buf+='<hr/>'
else:
buf+= '<div class="comments">'+comment.replace('#','').replace('<','&lt;').replace('>','&gt;')+'</div><br/>\n'
tempComment = comment.replace('#','').replace('<','&lt;').replace('>','&gt;')
if string.strip(tempComment)!="":
buf+= '<div class="comments">'+tempComment+'</div><br/>\n'
buf+='</div>\n'
if namespace[0] not in done2:
buf+='</div>\n'