commit d0e66d4a43830567f2f36df7b04509e8bafae8dd
parent 87ba5d9587343dcdfa1f82d6170a452587765e09
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 16 Jun 2004 18:51:18 +0000
Fix bug in handling accented lowercase i
svn:r94
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: "&%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)