diff --git a/scripts/python/nasal_api_doc.py b/scripts/python/nasal_api_doc.py index 947b722f9..9c27310d1 100755 --- a/scripts/python/nasal_api_doc.py +++ b/scripts/python/nasal_api_doc.py @@ -135,7 +135,9 @@ def output_text(top_namespaces,modules,version): if comment.find('=====')!=-1: buf+='
' else: - buf+= '
'+comment.replace('#','').replace('<','<').replace('>','>')+'

\n' + tempComment = comment.replace('#','').replace('<','<').replace('>','>') + if string.strip(tempComment)!="": + buf+= '
'+tempComment+'

\n' buf+='\n' if namespace[0] not in done2: buf+='\n'