diff options
| author | Nick Mathewson <nickm@torproject.org> | 2004-08-15 20:07:24 +0000 |
|---|---|---|
| committer | Nick Mathewson <nickm@torproject.org> | 2004-08-15 20:07:24 +0000 |
| commit | 6897e306c97bb4917f61cdd8e2490094618dc906 (patch) | |
| tree | ad894e922880d32ddd374e6ecebe8e8750f23739 /BibTeX.py | |
| parent | 133164406a50d56633fa39fb553cbb838f70c529 (diff) | |
| download | anonbib-6897e306c97bb4917f61cdd8e2490094618dc906.tar.gz | |
make htmlize deal with nil TeX commands (patch from goodell.
svn:r110
Diffstat (limited to 'BibTeX.py')
| -rw-r--r-- | BibTeX.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -611,6 +611,7 @@ def htmlize(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 = unTeXEscapeURL(s) s = RE_TEX_CMD.sub("", s) s = s.translate(ALLCHARS, "{}") s = RE_PAGE_SPAN.sub(lambda m: "%s-%s"%(m.groups()), s) |
