mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Use ctx.metas for SHA hash links (#6645)
Since #6273 was merged, we now have access to proper context metas always. Update SHA generated links to use these instead of urlPrefix. Update tests as well. Fixes #4536.
This commit is contained in:
		| @@ -103,6 +103,8 @@ func testAnswers(baseURLContent, baseURLImages string) []string { | ||||
| <li><a href="` + baseURLContent + `/Tips" rel="nofollow">Tips</a></li> | ||||
| </ul> | ||||
|  | ||||
| <p>See commit <a href="http://localhost:3000/gogits/gogs/commit/fc7f44dadf" rel="nofollow"><code>fc7f44dadf</code></a></p> | ||||
|  | ||||
| <p>Ideas and codes</p> | ||||
|  | ||||
| <ul> | ||||
| @@ -192,6 +194,8 @@ var sameCases = []string{ | ||||
| - [[Links, Language bindings, Engine bindings|Links]] | ||||
| - [[Tips]] | ||||
|  | ||||
| See commit fc7f44dadf | ||||
|  | ||||
| Ideas and codes | ||||
|  | ||||
| - Bezier widget (by @r-lyeh) ` + AppURL + `ocornut/imgui/issues/786 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user