lib/rouge/theme.rb in rouge-0.5.3 vs lib/rouge/theme.rb in rouge-0.5.4
- old
+ new
@@ -161,10 +161,10 @@
single_css_selector(tok)
end.join(', ')
end
def single_css_selector(token)
- return @scope if token == Token['Text']
+ return @scope if token == Text
"#{@scope} .#{token.shortname}"
end
# yield all of the tokens that should be styled the same