Problem with Sigil 0.9.11: if I right-click in a CSS file and select Reformat CSS (either Multiple Lines Per Style OR Single Line Per File), then I get the following error:
Spoiler:
Traceback (most recent call last):
File "D:/Sigil/python3lib\cssreformatter.py", line 191, in reformat_css
new_css_string = parsed_css.cssText.decode('utf-8', errors='replace')
File "D:/Sigil/plugin_launchers/python\css_parser\css\cssstylesheet.py", line 139, in _getCssText
return css_parser.ser.do_CSSStyleSheet(self)
File "D:/Sigil/python3lib\cssreformatter.py", line 42, in do_CSSStyleSheet
cssText = rule.cssText
File "D:/Sigil/plugin_launchers/python\css_parser\css\cssfontfacerule.py", line 76, in _getCssText
return css_parser.ser.do_CSSFontFaceRule(self)
File "D:/Sigil/python3lib\cssreformatter.py", line 68, in do_CSSFontFaceRule
out = cssparser.serialize.Out(self)
NameError: name 'cssparser' is not defined
The error only occurs if there are @font-face declarations in the CSS file. If I remove the @font-face declarations, everything is fine and there is no error. Any ideas?