diff --git a/src/plugins/plugin_misc_text_syntaxes.py b/src/plugins/plugin_misc_text_syntaxes.py index 6a2878f1..7a4fb1fc 100755 --- a/src/plugins/plugin_misc_text_syntaxes.py +++ b/src/plugins/plugin_misc_text_syntaxes.py @@ -166,7 +166,7 @@ class TextSyntaxes(object): if value == "none": continue cleaned_styles.append((key, value)) - return "; ".join(["%s: %s" % (key, value) for key, value in cleaned_styles]) + return "; ".join(["%s: %s" % (key_, value_) for key_, value_ in cleaned_styles]) if isinstance(xhtml, basestring): xhtml_elt = html.fromstring(xhtml)