fix:fix the the spelling error

This commit is contained in:
wwsheng009 2023-12-18 16:26:37 +08:00
parent 006859ba83
commit b21271fa0f

View file

@ -176,7 +176,8 @@ func (parser *TemplateParser) parseElementAttrs(sel *goquery.Selection) {
}
}
// check if element attributes has the s:raw command, if true,ouput the raw data.
// Check if the element attributes have the s:raw command.
// If true, the sub-node will output the raw data instead of the escaped value.
func checkIsRawElement(node *html.Node) bool {
if node.Parent != nil && len(node.Parent.Attr) > 0 {
for _, attr := range node.Parent.Attr {