aboutsummaryrefslogtreecommitdiffstats
path: root/BibTeX.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-06-16 18:51:18 +0000
committerNick Mathewson <nickm@torproject.org>2004-06-16 18:51:18 +0000
commitcfb3548f2bc7586dc5db6f7fae4206437df5c3a2 (patch)
tree7a0e11381be8daf04e897564b31eb7845839e7d4 /BibTeX.py
parent25d62c145a309d3e3d136d6181d971c263850f7c (diff)
downloadanonbib-cfb3548f2bc7586dc5db6f7fae4206437df5c3a2.tar.gz
Fix bug in handling accented lowercase i
svn:r94
Diffstat (limited to 'BibTeX.py')
-rw-r--r--BibTeX.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BibTeX.py b/BibTeX.py
index b4d25e8..22b71f6 100644
--- a/BibTeX.py
+++ b/BibTeX.py
@@ -587,7 +587,7 @@ def _unlig_html(m):
def htmlize(s):
"""Turn a TeX string into good-looking HTML."""
s = RE_LONE_AMP.sub(lambda m: "&amp;%s" % m.group(1), s)
- s = RE_LONE_I.sub(lambda m: "i%s%s" % m.group(1), s)
+ s = RE_LONE_I.sub(lambda m: "i%s" % m.group(1), s)
s = RE_ACCENT.sub(_unaccent, s)
s = RE_LIGATURE.sub(_unlig_html, s);
s = RE_TEX_CMD.sub("", s)