diff options
| author | Georg Brandl <georg@python.org> | 2011-05-15 13:52:48 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-05-15 13:52:48 +0200 |
| commit | fd2c55eaea41cfb0db941c7d0538215306f1da9a (patch) | |
| tree | e930a63eeab723b56cb4a281cf219602010299df /sphinx/builders/htmlhelp.py | |
| parent | 88a4dce9a45b76d990e2768de69eb465a5f216f7 (diff) | |
| parent | ba9d023acf4361093666eaf1aa6e78b0ab41a891 (diff) | |
| download | sphinx-fd2c55eaea41cfb0db941c7d0538215306f1da9a.tar.gz | |
merge with 1.0
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
| -rw-r--r-- | sphinx/builders/htmlhelp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py index fcd8a7f3..143f6df9 100644 --- a/sphinx/builders/htmlhelp.py +++ b/sphinx/builders/htmlhelp.py @@ -259,8 +259,7 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder): def write_index(title, refs, subitems): def write_param(name, value): item = ' <param name="%s" value="%s">\n' % (name, value) - f.write(item.encode(self.encoding, 'xmlcharrefreplace') - .decode(self.encoding)) + f.write(item) title = cgi.escape(title) f.write('<LI> <OBJECT type="text/sitemap">\n') write_param('Keyword', title) |
