mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Correct typos in Go comments
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
17e60b77e1
commit
36ce3a4a9d
@@ -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))
|
||||
|
Reference in New Issue
Block a user