File tree Expand file tree Collapse file tree 17 files changed +24
-24
lines changed Expand file tree Collapse file tree 17 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 11
11
</span>
12
12
{{if .IsOrganizationOwner}}<a class="middle text grey" href="{{.OrgLink}}/settings">{{svg "octicon-gear" 16 "mb-3"}}</a>{{end}}
13
13
</div>
14
- {{if $.RenderedDescription}}<p class="render-content markdown ">{{$.RenderedDescription|Str2html}}</p>{{end}}
14
+ {{if $.RenderedDescription}}<p class="render-content markup ">{{$.RenderedDescription|Str2html}}</p>{{end}}
15
15
<div class="text grey meta">
16
16
{{if .Org.Location}}<div class="item">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
17
17
{{if .Org.Website}}<div class="item">{{svg "octicon-link"}} <a target="_blank" rel="noopener noreferrer" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}
Original file line number Diff line number Diff line change 164
164
<div class="ui bottom attached active write tab segment">
165
165
<textarea class="review-textarea" tabindex="1" name="content"></textarea>
166
166
</div>
167
- <div class="ui bottom attached tab preview segment markdown ">
167
+ <div class="ui bottom attached tab preview segment markup ">
168
168
{{$.i18n.Tr "loading"}}
169
169
</div>
170
170
<div class="text right edit buttons">
Original file line number Diff line number Diff line change 22
22
<div class="ui active tab" data-tab="write">
23
23
<textarea name="content" placeholder="{{$.root.i18n.Tr "repo.diff.comment.placeholder"}}"></textarea>
24
24
</div>
25
- <div class="ui tab markdown " data-tab="preview">
25
+ <div class="ui tab markup " data-tab="preview">
26
26
{{.i18n.Tr "loading"}}
27
27
</div>
28
28
</div>
29
29
<div class="field footer">
30
- <span class="markdown-info">{{svg "octicon-markdown "}} {{$.root.i18n.Tr "repo.diff.comment.markdown_info "}}</span>
30
+ <span class="markdown-info">{{svg "octicon-markup "}} {{$.root.i18n.Tr "repo.diff.comment.markup_info "}}</span>
31
31
<div class="ui right">
32
32
{{if $.reply}}
33
33
<button class="ui submit green tiny button btn-reply" type="submit">{{$.root.i18n.Tr "repo.diff.comment.reply"}}</button>
Original file line number Diff line number Diff line change 51
51
</div>
52
52
</div>
53
53
<div class="ui attached segment comment-body">
54
- <div class="render-content markdown ">
54
+ <div class="render-content markup ">
55
55
{{if .RenderedContent}}
56
56
{{.RenderedContent|Str2html}}
57
57
{{else}}
Original file line number Diff line number Diff line change 44
44
{{.FileContent}}</textarea>
45
45
<div class="editor-loading is-loading"></div>
46
46
</div>
47
- <div class="ui bottom attached tab segment markdown " data-tab="preview">
47
+ <div class="ui bottom attached tab segment markup " data-tab="preview">
48
48
{{.i18n.Tr "loading"}}
49
49
</div>
50
50
<div class="ui bottom attached tab segment diff edit-diff" data-tab="diff">
Original file line number Diff line number Diff line change 27
27
28
28
<div class="item">
29
29
<h3>{{.i18n.Tr "repo.create_new_repo_command"}}</h3>
30
- <div class="markdown ">
30
+ <div class="markup ">
31
31
<pre><code>touch README.md
32
32
git init
33
33
{{if ne .Repository.DefaultBranch "master"}}git checkout -b {{.Repository.DefaultBranch}}{{end}}
@@ -41,7 +41,7 @@ git push -u origin {{.Repository.DefaultBranch}}</code></pre>
41
41
42
42
<div class="item">
43
43
<h3>{{.i18n.Tr "repo.push_exist_repo"}}</h3>
44
- <div class="markdown ">
44
+ <div class="markup ">
45
45
<pre><code>git remote add origin <span class="clone-url">{{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}</span>
46
46
git push -u origin {{.Repository.DefaultBranch}}</code></pre>
47
47
</div>
Original file line number Diff line number Diff line change 8
8
{{- if .BodyQuery}}{{.BodyQuery}}{{else if .IssueTemplate}}{{.IssueTemplate}}{{else if .PullRequestTemplate}}{{.PullRequestTemplate}}{{else}}{{.content}}{{end -}}
9
9
</textarea>
10
10
</div>
11
- <div class="ui bottom tab markdown " data-tab="preview">
11
+ <div class="ui bottom tab markup " data-tab="preview">
12
12
{{.i18n.Tr "loading"}}
13
13
</div>
14
14
</div>
Original file line number Diff line number Diff line change 5
5
<div class="ui three column stackable grid">
6
6
<div class="column">
7
7
<h1>{{.Milestone.Name}}</h1>
8
- <div class="markdown content">
8
+ <div class="markup content">
9
9
{{.Milestone.RenderedContent|Str2html}}
10
10
</div>
11
11
</div>
Original file line number Diff line number Diff line change 98
98
</div>
99
99
{{end}}
100
100
{{if .Content}}
101
- <div class="markdown content">
101
+ <div class="markup content">
102
102
{{.RenderedContent|Str2html}}
103
103
</div>
104
104
{{end}}
Original file line number Diff line number Diff line change 57
57
</div>
58
58
</div>
59
59
<div class="ui attached segment comment-body">
60
- <div class="render-content markdown ">
60
+ <div class="render-content markup ">
61
61
{{if .Issue.RenderedContent}}
62
62
{{.Issue.RenderedContent|Str2html}}
63
63
{{else}}
191
191
<div class="ui bottom active tab write">
192
192
<textarea tabindex="1" name="content"></textarea>
193
193
</div>
194
- <div class="ui bottom tab preview markdown ">
194
+ <div class="ui bottom tab preview markup ">
195
195
{{$.i18n.Tr "loading"}}
196
196
</div>
197
197
</div>
You can’t perform that action at this time.
0 commit comments