diff options
Diffstat (limited to 'pygments/formatters/bbcode.py')
-rw-r--r-- | pygments/formatters/bbcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/formatters/bbcode.py b/pygments/formatters/bbcode.py index a03afdb1..228c0a4d 100644 --- a/pygments/formatters/bbcode.py +++ b/pygments/formatters/bbcode.py @@ -64,7 +64,7 @@ class BBCodeFormatter(Formatter): end = '[/u]' + end # there are no common BBcodes for background-color and border - self.styles[token] = start, end + self.styles[ttype] = start, end def format(self, tokensource, outfile): if self._code: |