Skip to content

Commit

Permalink
Fix for legacy color matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Mar 13, 2021
1 parent 93902be commit ec75324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExportHtml.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def guess_style(self, scope, selected=False, no_bold=False, no_italic=False, exp
"""Guess color."""

if self.legacy:
return self.csm.guess_color(self.view, scope, selected, no_bold, no_italic, explicit_background)
return self.csm.guess_color(scope, selected, no_bold, no_italic, explicit_background)
else:
# Remove leading '.' to account for old style CSS
scope_style = self.view.style_for_scope(scope.lstrip('.'))
Expand Down

0 comments on commit ec75324

Please sign in to comment.