aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markup')
-rw-r--r--modules/markup/html.go2
-rw-r--r--modules/markup/markdown/ast.go2
-rw-r--r--modules/markup/mdstripper/mdstripper_test.go4
3 files changed, 4 insertions, 4 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go
index 7afd8114c1..6d0b4fbea2 100644
--- a/modules/markup/html.go
+++ b/modules/markup/html.go
@@ -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) {
diff --git a/modules/markup/markdown/ast.go b/modules/markup/markdown/ast.go
index d735ff5ebd..5191d94cdd 100644
--- a/modules/markup/markdown/ast.go
+++ b/modules/markup/markdown/ast.go
@@ -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
diff --git a/modules/markup/mdstripper/mdstripper_test.go b/modules/markup/mdstripper/mdstripper_test.go
index 9efcc35949..13cea0ff72 100644
--- a/modules/markup/mdstripper/mdstripper_test.go
+++ b/modules/markup/mdstripper/mdstripper_test.go
@@ -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",