Skip to content

Commit

Permalink
Merge pull request #4957 from chaosi-zju/text-template
Browse files Browse the repository at this point in the history
cleanup: replace text/template with html/template
  • Loading branch information
karmada-bot authored May 20, 2024
2 parents 35d3d85 + be3874a commit dc7b755
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion operator/pkg/util/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package util
import (
"bytes"
"fmt"
"text/template"
"html/template"
)

// ParseTemplate validates and parses passed as argument template
Expand Down
2 changes: 1 addition & 1 deletion pkg/karmadactl/addons/utils/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package utils
import (
"bytes"
"fmt"
"text/template"
"html/template"
)

// ParseTemplate validates and parses passed as argument template
Expand Down

0 comments on commit dc7b755

Please sign in to comment.