summaryrefslogtreecommitdiffstats
path: root/markup/internal/attributes/attributes.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/internal/attributes/attributes.go')
-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))