diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index de8aa78f1..f428b28d7 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -338,7 +338,7 @@ class BasePage(object): ("AttrValue", attr.get_value() ) ] # get attribute note list - notelist = self.dump_notes(attr.get_note_list() ) or " " + notelist = self.dump_notes(attr.get_note_list() ) attr_data_row.append(("AttrNotes", notelist)) if showsrc: @@ -443,7 +443,7 @@ class BasePage(object): """ if not notelist: - return " " + return Html("p") db = self.report.database # begin unordered list @@ -505,7 +505,7 @@ class BasePage(object): if notelist: htmllist = self.dump_notes( notelist ) else: - htmllist = " " + htmllist = Html("p") # if the event or event reference has a attributes attached to it, # get the text and format it correctly @@ -520,7 +520,7 @@ class BasePage(object): #also output notes attached to the attributes notelist = attr.get_note_list() if notelist: - htmllist.extend ( self.dump_notes( notelist ) or " " ) + htmllist.extend (self.dump_notes( notelist )) trow += Html("td", htmllist, class_ = "ColumnNotes")