mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering to go-org (#8560)
* Rewrite markdown rendering to blackfriday v2.0 * Fix style * Fix go mod with golang 1.13 * Fix blackfriday v2 import * Inital orgmode renderer migration to go-org * Vendor go-org dependency * Ignore errors :/ * Update go-org to latest version * Update test * Fix go-org test * Remove unneeded code * Fix comments * Fix markdown test * Fix blackfriday regression rendering HTML block
This commit is contained in:
		| @@ -323,6 +323,6 @@ func TestRender_ShortLinks(t *testing.T) { | ||||
| 		`<p><a href="`+notencodedImgurlWiki+`" rel="nofollow"><img src="`+notencodedImgurlWiki+`"/></a></p>`) | ||||
| 	test( | ||||
| 		"<p><a href=\"https://example.org\">[[foobar]]</a></p>", | ||||
| 		`<p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p>`, | ||||
| 		`<p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p>`) | ||||
| 		`<p></p><p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p><p></p>`, | ||||
| 		`<p></p><p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p><p></p>`) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lauris BH
					Lauris BH