Format references: [1], [2]

svn: r15229
This commit is contained in:
Doug Blank 2010-04-19 11:01:33 +00:00
parent d71d5c67dc
commit c0fa9b4b37

View File

@ -377,7 +377,7 @@ class BasePage(object):
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_)
# return citation list text to its callers # return citation list text to its callers
return text return text