mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	deps: Update Goldmark
This commit is contained in:
		@@ -33,6 +33,11 @@ func TestConvert(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	// Smoke test of the default configuration.
 | 
			
		||||
	content := `
 | 
			
		||||
## Links
 | 
			
		||||
 | 
			
		||||
https://github.com/gohugoio/hugo/issues/6528
 | 
			
		||||
[Live Demo here!](https://docuapi.netlify.com/)
 | 
			
		||||
 | 
			
		||||
## Code Fences
 | 
			
		||||
 | 
			
		||||
§§§bash
 | 
			
		||||
@@ -108,6 +113,9 @@ description
 | 
			
		||||
 | 
			
		||||
	got := string(b.Bytes())
 | 
			
		||||
 | 
			
		||||
	// Links
 | 
			
		||||
	c.Assert(got, qt.Contains, `<a href="https://docuapi.netlify.com/">Live Demo here!</a>`)
 | 
			
		||||
 | 
			
		||||
	// Header IDs
 | 
			
		||||
	c.Assert(got, qt.Contains, `<h2 id="custom">Custom ID</h2>`, qt.Commentf(got))
 | 
			
		||||
	c.Assert(got, qt.Contains, `<h2 id="auto-id">Auto ID</h2>`, qt.Commentf(got))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user