3845: In NarrativeWeb plugin, would like to remove the <sup> from the source annotations, by adamplumb

svn: r15130
This commit is contained in:
Doug Blank 2010-04-15 04:12:07 +00:00
parent bed9092bb9
commit 62fd3f8874

View File

@ -374,12 +374,10 @@ class BasePage(object):
text = "" text = ""
if len(gid_list): if len(gid_list):
text += " <sup>"
for ref in gid_list: for ref in gid_list:
index, key = self.bibli.add_reference(ref) index, key = self.bibli.add_reference(ref)
id_ = "%d%s" % (index+1, key) id_ = "%d%s" % (index+1, key)
text += '<a href="#sref%s ">%s</a>' % (id_, id_) text += '<a href="#sref%s ">%s</a>' % (id_, id_)
text += "</sup>"
# return citation list text to its callers # return citation list text to its callers
return text return text