mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Harden style rule for % comprehensions and fix existing errors.
This commit is contained in:
@@ -105,7 +105,7 @@ class CodeHilite(object):
|
||||
txt = txt.replace('"', '"')
|
||||
classes = []
|
||||
if self.lang:
|
||||
classes.append('language-%s' % self.lang)
|
||||
classes.append('language-%s' % (self.lang,))
|
||||
if self.linenos:
|
||||
classes.append('linenums')
|
||||
class_str = ''
|
||||
|
||||
Reference in New Issue
Block a user