mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Remove Blackfriday markdown engine
It has been deprecated for a long time, its v1 version is not maintained anymore, and there are many known issues. Goldmark should be a mature replacement by now. Closes #9934
This commit is contained in:
		@@ -600,7 +600,7 @@ func (p *pageState) getContentConverter() converter.Converter {
 | 
			
		||||
			// Only used for shortcode inner content.
 | 
			
		||||
			markup = "markdown"
 | 
			
		||||
		}
 | 
			
		||||
		p.m.contentConverter, err = p.m.newContentConverter(p, markup, p.m.renderingConfigOverrides)
 | 
			
		||||
		p.m.contentConverter, err = p.m.newContentConverter(p, markup)
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	if err != nil {
 | 
			
		||||
@@ -698,7 +698,7 @@ Loop:
 | 
			
		||||
			p.source.hasSummaryDivider = true
 | 
			
		||||
 | 
			
		||||
			if meta.markup != "html" {
 | 
			
		||||
				// The content will be rendered by Blackfriday or similar,
 | 
			
		||||
				// The content will be rendered by Goldmark or similar,
 | 
			
		||||
				// and we need to track the summary.
 | 
			
		||||
				rn.AddReplacement(internalSummaryDividerPre, it)
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user