diff --git a/lib/rocco.rb b/lib/rocco.rb index c62308a..8d69bf4 100644 --- a/lib/rocco.rb +++ b/lib/rocco.rb @@ -116,8 +116,7 @@ def initialize(filename, sources=[], options={}) # Turn `:comment_chars` into a regex matching a series of spaces, the # `:comment_chars` string, and the an optional space. We'll use that # to detect single-line comments. - @comment_pattern = - Regexp.new("^\\s*#{@options[:comment_chars][:single]}\s?") + @comment_pattern = Regexp.new("^\\s*#{@options[:comment_chars][:single]}\s?") # `parse()` the file contents stored in `@data`. Run the result through # `split()` and that result through `highlight()` to generate the final