summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/misc
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-08-13 15:30:28 -0700
committerAndrey Nering <andrey.nering@gmail.com>2017-08-13 19:30:27 -0300
commit29f3a6e492daa80a2ce5e3693743aa2448f391d9 (patch)
treeba4e53f90303a9e21d44a8909732903f593d5b9e /routers/api/v1/misc
parent2282e240282649880d6b8d8d11cc378dc3d64d41 (diff)
downloadgitea-29f3a6e492daa80a2ce5e3693743aa2448f391d9.tar.gz
gitea-29f3a6e492daa80a2ce5e3693743aa2448f391d9.zip
Fix rendering of external links (#2292)
Diffstat (limited to 'routers/api/v1/misc')
-rw-r--r--routers/api/v1/misc/markdown_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/misc/markdown_test.go b/routers/api/v1/misc/markdown_test.go
index 182b147820..d6e6193478 100644
--- a/routers/api/v1/misc/markdown_test.go
+++ b/routers/api/v1/misc/markdown_test.go
@@ -75,7 +75,7 @@ func TestAPI_RenderGFM(t *testing.T) {
<ul>
<li><a href="` + AppSubURL + `wiki/Links" rel="nofollow">Links, Language bindings, Engine bindings</a></li>
<li><a href="` + AppSubURL + `wiki/Tips" rel="nofollow">Tips</a></li>
-<li>Bezier widget (by <a href="` + AppURL + `r-lyeh" rel="nofollow">@r-lyeh</a>)<a href="https://github.com/ocornut/imgui/issues/786" rel="nofollow">#786</a></li>
+<li>Bezier widget (by <a href="` + AppURL + `r-lyeh" rel="nofollow">@r-lyeh</a>) https://github.com/ocornut/imgui/issues/786</li>
</ul>
`,
// wine-staging wiki home extract: special wiki syntax, images