Skip to content

Commit 640eaba

Browse files
committed
fix typos
1 parent 9c18491 commit 640eaba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/markup/external/external.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (p *Parser) Render(rawBytes []byte, urlPrefix string, metas map[string]stri
5252
)
5353

5454
if p.IsInputFile {
55-
// write to templ file
55+
// write to temp file
5656
f, err := ioutil.TempFile("", "gitea_input")
5757
if err != nil {
5858
log.Error(4, "%s create temp file when rendering %s failed: %v", p.Name(), p.Command, err)

modules/setting/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const (
6060
LandingPageExplore LandingPage = "/explore"
6161
)
6262

63-
// MarkupParser defines the external parser configed on ini
63+
// MarkupParser defines the external parser configured in ini
6464
type MarkupParser struct {
6565
Enabled bool
6666
MarkupName string

0 commit comments

Comments
 (0)