rubocop: fix code style
This commit is contained in:
		
							parent
							
								
									2ca80920dc
								
							
						
					
					
						commit
						5c036cf3c4
					
				|  | @ -93,7 +93,7 @@ eos | ||||||
|         ) |         ) | ||||||
| 
 | 
 | ||||||
|         if highlighted_code.nil? |         if highlighted_code.nil? | ||||||
|           Jekyll.logger.error <<-eos |           Jekyll.logger.error <<eos | ||||||
| There was an error highlighting your code: | There was an error highlighting your code: | ||||||
| 
 | 
 | ||||||
| #{code} | #{code} | ||||||
|  | @ -111,7 +111,8 @@ eos | ||||||
|       def render_rouge(code) |       def render_rouge(code) | ||||||
|         Jekyll::External.require_with_graceful_fail("rouge") |         Jekyll::External.require_with_graceful_fail("rouge") | ||||||
|         formatter = Rouge::Formatters::HTML.new( |         formatter = Rouge::Formatters::HTML.new( | ||||||
|           :line_numbers => @highlight_options[:linenos], :wrap => false |           :line_numbers => @highlight_options[:linenos], | ||||||
|  |           :wrap => false | ||||||
|         ) |         ) | ||||||
|         lexer = Rouge::Lexer.find_fancy(@lang, code) || Rouge::Lexers::PlainText |         lexer = Rouge::Lexer.find_fancy(@lang, code) || Rouge::Lexers::PlainText | ||||||
|         formatter.format(lexer.lex(code)) |         formatter.format(lexer.lex(code)) | ||||||
|  |  | ||||||
|  | @ -19,7 +19,6 @@ module Jekyll | ||||||
|         raise ArgumentError, <<eos |         raise ArgumentError, <<eos | ||||||
| Could not find document '#{@relative_path}' in tag '#{TAG_NAME}'. | Could not find document '#{@relative_path}' in tag '#{TAG_NAME}'. | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| Make sure the document exists and the path is correct. | Make sure the document exists and the path is correct. | ||||||
| eos | eos | ||||||
|       end |       end | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue