Ignore empty lines in html output.
This commit is contained in:
parent
11a9bdf29e
commit
924468169d
1 changed files with 3 additions and 1 deletions
|
@ -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('<','<').replace('>','>')+'</div><br/>\n'
|
||||
tempComment = comment.replace('#','').replace('<','<').replace('>','>')
|
||||
if string.strip(tempComment)!="":
|
||||
buf+= '<div class="comments">'+tempComment+'</div><br/>\n'
|
||||
buf+='</div>\n'
|
||||
if namespace[0] not in done2:
|
||||
buf+='</div>\n'
|
||||
|
|
Loading…
Add table
Reference in a new issue