summaryrefslogtreecommitdiffstats
path: root/routers/api/v1
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-04-22 00:13:56 +0200
committerGitHub <noreply@github.com>2020-04-21 23:13:56 +0100
commit7e20f1cb5b3ef494676f3629e4980c8cdd64525b (patch)
tree7dc0f5b4975ff135ce074ddca9e959e13266df33 /routers/api/v1
parent49f8b20570a4a6e7d49f00ee91453dc8ef84f4b1 (diff)
downloadgitea-7e20f1cb5b3ef494676f3629e4980c8cdd64525b.tar.gz
gitea-7e20f1cb5b3ef494676f3629e4980c8cdd64525b.zip
enable ENABLE_HARD_LINE_BREAK by default (#11162)
enable ENABLE_HARD_LINE_BREAK by default This matches GitHub's rendering. Fix #11155
Diffstat (limited to 'routers/api/v1')
-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 6c81ec8eb4..264a6010f9 100644
--- a/routers/api/v1/misc/markdown_test.go
+++ b/routers/api/v1/misc/markdown_test.go
@@ -94,7 +94,7 @@ Here are some links to the most important topics. You can find the full list of
<p><strong>Wine Staging</strong> on website <a href="http://wine-staging.com" rel="nofollow">wine-staging.com</a>.</p>
<h2 id="user-content-quick-links">Quick Links</h2>
<p>Here are some links to the most important topics. You can find the full list of pages at the sidebar.</p>
-<p><a href="` + AppSubURL + `wiki/Configuration" rel="nofollow">Configuration</a>
+<p><a href="` + AppSubURL + `wiki/Configuration" rel="nofollow">Configuration</a><br/>
<a href="` + AppSubURL + `wiki/raw/images/icon-bug.png" rel="nofollow"><img src="` + AppSubURL + `wiki/raw/images/icon-bug.png" title="icon-bug.png" alt="images/icon-bug.png"/></a></p>
`,
// Guard wiki sidebar: special syntax