From b21271fa0f0cb6f3c0334e7f54f33d1e816dc46d Mon Sep 17 00:00:00 2001 From: wwsheng009 Date: Mon, 18 Dec 2023 16:26:37 +0800 Subject: [PATCH] fix:fix the the spelling error --- sui/core/parser.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sui/core/parser.go b/sui/core/parser.go index b3814e3e..d427194a 100644 --- a/sui/core/parser.go +++ b/sui/core/parser.go @@ -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 {