From ac6b5071e3f81b1af687159e15f102a866c3cf63 Mon Sep 17 00:00:00 2001 From: early Date: Fri, 20 Dec 2024 17:55:55 -0700 Subject: [PATCH] remove a bunch of prints :/ --- web/internal/compile/template.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/internal/compile/template.go b/web/internal/compile/template.go index 6b6f4c2..bf90afb 100644 --- a/web/internal/compile/template.go +++ b/web/internal/compile/template.go @@ -290,7 +290,6 @@ func replaceTemplateFields(n *html.Node) { if inTemplate && isField(token) || inAttrs && isDataAttr[i] { // special case; . is parentable but shouldn't be appended - fmt.Println("replacing token", token) if token == "." { token = "$today_parent" } else { @@ -334,9 +333,7 @@ func insertTemplateSource(lang language.Tag, subSource TemplateSource, context * raiseStack := []string{} htmltree.Walk(context.FirstChild, func(n *html.Node) (bool, error) { if raiseDepth == 0 { - fmt.Println("replace", n.Data) replaceTemplateFields(n) - fmt.Println("result", n.Data) } if n.Type == html.TextNode { // Scope up/down only when setting dot -- 2.39.5