Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/writers.py
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-09-01 17:35:00 (GMT)
committer Richard Darst <rkd@zgib.net>2009-09-01 17:35:00 (GMT)
commitca03606ac10fb800fe93e84780682da36d261583 (patch)
tree460d69478f37b00f7b527e221c6dc9794535d931 /writers.py
parent5ca11eeba1d944b1697be416039adfa211b59457 (diff)
Fix encoding of HTMLlog output
- With a previous patch, I had attempted to fix charset issues with HTMLlog. Unfortunately I got the name of the option mixed up, making it not output a charset designator in the HTML. Pygments didn't raise any errors about the wrong option name. - Now, the HTML says '... content darcs-hash:20090901173500-82ea9-d461508cc421c6020c25290e5401ab3963eadb32.gz
Diffstat (limited to 'writers.py')
-rw-r--r--writers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/writers.py b/writers.py
index 00fcac7..c7ce910 100644
--- a/writers.py
+++ b/writers.py
@@ -154,7 +154,7 @@ class HTMLlog(_BaseWriter):
# object.
formatter = HtmlFormatter(lineanchors='l',
full=True, style=M.config.pygmentizeStyle,
- output_encoding=self.M.config.output_codec)
+ outencoding=self.M.config.output_codec)
Lexer = IrcLogsLexer
Lexer.tokens['msg'][1:1] = \
[ # match: #topic commands