1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Fix various documentation, user-facing, and source comment typos (#16367)

* Fix various doc, user-facing, and source comment typos

Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby`
This commit is contained in:
luzpaz
2021-07-08 07:38:13 -04:00
committed by GitHub
parent bc6f060b8c
commit e0296b6a6d
87 changed files with 132 additions and 132 deletions

View File

@ -274,7 +274,7 @@ func RenderDescriptionHTML(
}
// RenderEmoji for when we want to just process emoji and shortcodes
// in various places it isn't already run through the normal markdown procesor
// in various places it isn't already run through the normal markdown processor
func RenderEmoji(
content string,
) (string, error) {

View File

@ -74,7 +74,7 @@ func IsSummary(node ast.Node) bool {
return ok
}
// TaskCheckBoxListItem is a block that repressents a list item of a markdown block with a checkbox
// TaskCheckBoxListItem is a block that represents a list item of a markdown block with a checkbox
type TaskCheckBoxListItem struct {
*ast.ListItem
IsChecked bool

View File

@ -25,7 +25,7 @@ func TestMarkdownStripper(t *testing.T) {
This is [one](link) to paradise.
This **is emphasized**.
This: should coallesce.
This: should coalesce.
` + "```" + `
This is a code block.
@ -44,7 +44,7 @@ A HIDDEN ` + "`" + `GHOST` + "`" + ` IN THIS LINE.
"This",
"is emphasized",
".",
"This: should coallesce.",
"This: should coalesce.",
"Bullet 1",
"Bullet 2",
"A HIDDEN",