summaryrefslogtreecommitdiffstats
path: root/markup/internal
diff options
context:
space:
mode:
authorOleksandr Redko <oleksandr.red+github@gmail.com>2023-02-18 22:47:35 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-03-02 16:32:32 +0100
commit36ce3a4a9d3933772085991c8636915ffd5cb3af (patch)
treee7eaf3e0ea689b227fe012eab7c0f16205d6cd8c /markup/internal
parent17e60b77e15664ba37f5c0b911cf70c36d496d80 (diff)
Correct typos in Go comments
Diffstat (limited to 'markup/internal')
-rw-r--r--markup/internal/attributes/attributes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/markup/internal/attributes/attributes.go b/markup/internal/attributes/attributes.go
index a67b51acb..09bba5c41 100644
--- a/markup/internal/attributes/attributes.go
+++ b/markup/internal/attributes/attributes.go
@@ -200,8 +200,8 @@ func RenderASTAttributes(w hugio.FlexiWriter, attributes ...ast.Attribute) {
}
// Render writes the attributes to the given as attributes to an HTML element.
-// This is used for the default codeblock renderering.
-// This performs HTML esacaping of string attributes.
+// This is used for the default codeblock rendering.
+// This performs HTML escaping of string attributes.
func RenderAttributes(w hugio.FlexiWriter, skipClass bool, attributes ...Attribute) {
for _, attr := range attributes {
a := strings.ToLower(string(attr.Name))