mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	deps: Update to Chroma v0.6.8 to fix a crash
Also improve relevant logging. Fixes #6450
This commit is contained in:
		@@ -82,7 +82,7 @@ func (h highlighters) chromaHighlight(code, lang, optsStr string) (string, error
 | 
			
		||||
 | 
			
		||||
	err = chromaHighlight(b, code, lang, style, f)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		jww.ERROR.Print(err.Error())
 | 
			
		||||
		jww.ERROR.Printf("Highlight failed: %s\nLang: %q\nCode: \n%s", err, lang, code)
 | 
			
		||||
		return code, err
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user