lib/rouge/tex_theme_renderer.rb in rouge-4.2.0 vs lib/rouge/tex_theme_renderer.rb in rouge-4.2.1
- old
+ new
@@ -107,10 +107,10 @@
def token_name(tok)
"\\csname #@prefix@tok@#{tok.shortname}\\endcsname"
end
def render_blank(tok, &b)
- out = "\\expandafter\\def#{token_name(tok)}#1{#1}"
+ "\\expandafter\\def#{token_name(tok)}#1{#1}"
end
def render_style(tok, style, &b)
out = String.new('')
out << "\\expandafter\\def#{token_name(tok)}#1{"