aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BibTeX.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/BibTeX.py b/BibTeX.py
index b65d960..ac5ba5d 100644
--- a/BibTeX.py
+++ b/BibTeX.py
@@ -407,11 +407,12 @@ class BibTeXEntry:
def to_html(self):
imp = self.isImportant()
if imp:
- res = ["<li><div class='impEntry'><p class='impEntry'>",
- "<span class='title'>%s</span>"%(htmlize(self['title']))]
+ res = ["<li><div class='impEntry'><p class='impEntry'>" ]
else:
- res = ["<li><p class='entry'><span class='title'>%s</span>"%(
- htmlize(self['title']))]
+ res = ["<li><p class='entry'"]
+
+ res.append("<span class='title'><a name='%s'>%s</a></span>"%(
+ url_untranslate(self.key),htmlize(self['title'])))
availability = []
for key, name in (('www_abstract_url', 'abstract'),
@@ -446,7 +447,7 @@ class BibTeXEntry:
res.append(".")
res.append("</span><br />\n")
res.append(self.biblio_to_html())
-
+ res.append("<a href='#%s'>&middot;</a>"%url_untranslate(self.key))
res.append("</p>"),
if self.get('www_remarks'):