summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-01 20:51:31 -0500
committerUnknwon <u@gogs.io>2015-12-01 20:51:31 -0500
commit5572884c6b5b351f9048974873199a69662cfa2b (patch)
tree34ec5ea71c54d6e3ea882f5a0b824e28a8538a1d /templates/repo/issue/view_content.tmpl
parent3460ec103902a53430ec6efb345dfb827af70468 (diff)
downloadgitea-5572884c6b5b351f9048974873199a69662cfa2b.tar.gz
gitea-5572884c6b5b351f9048974873199a69662cfa2b.zip
fix #2057
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-rw-r--r--templates/repo/issue/view_content.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 56519e7868..0f4a6d07ed 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -323,7 +323,7 @@
<div class="ui comment form">
<div class="ui top attached tabular menu">
<a class="active write item">{{$.i18n.Tr "repo.release.write"}}</a>
- <a class="preview item" data-url="/api/v1/markdown" data-context="{{$.RepoLink}}">{{$.i18n.Tr "repo.release.preview"}}</a>
+ <a class="preview item" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{$.RepoLink}}">{{$.i18n.Tr "repo.release.preview"}}</a>
</div>
<div class="ui bottom attached active write tab segment">
<textarea tabindex="1" id="content" name="content"></textarea>