summaryrefslogtreecommitdiffstats
path: root/templates/repo/editor
diff options
context:
space:
mode:
authorRodrigo Villablanca Vásquez <villa061004@gmail.com>2018-04-19 21:25:15 -0300
committerLunny Xiao <xiaolunwen@gmail.com>2018-04-20 08:25:15 +0800
commitf6013d5098e3f11879f2af62e616c15cf86c959e (patch)
tree1c3843731e5271b34f9795fe3b632b762a6bf354 /templates/repo/editor
parentbac6d05e78603ce9bb028f9ba2b77b9ea2975347 (diff)
downloadgitea-f6013d5098e3f11879f2af62e616c15cf86c959e.tar.gz
gitea-f6013d5098e3f11879f2af62e616c15cf86c959e.zip
Some small template fixes (#3820)
Diffstat (limited to 'templates/repo/editor')
-rw-r--r--templates/repo/editor/edit.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl
index 77e40c6de3..50d8f6828c 100644
--- a/templates/repo/editor/edit.tmpl
+++ b/templates/repo/editor/edit.tmpl
@@ -39,8 +39,9 @@
data-url="{{AppSubUrl}}/api/v1/markdown"
data-context="{{.RepoLink}}"
data-markdown-file-exts="{{.MarkdownFileExts}}"
- data-line-wrap-extensions="{{.LineWrapExtensions}}">
-{{.FileContent}}</textarea required>
+ data-line-wrap-extensions="{{.LineWrapExtensions}}"
+ required>
+{{.FileContent}}</textarea>
</div>
<div class="ui bottom attached tab segment markdown" data-tab="preview">
{{.i18n.Tr "repo.release.loading"}}