cleanup: replace text/template with html/template

Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
This commit is contained in:
chaosi-zju 2024-05-17 15:37:55 +08:00
parent 90b461603c
commit be3874a938
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ package util
import (
"bytes"
"fmt"
"text/template"
"html/template"
)
// ParseTemplate validates and parses passed as argument template

View File

@ -19,7 +19,7 @@ package utils
import (
"bytes"
"fmt"
"text/template"
"html/template"
)
// ParseTemplate validates and parses passed as argument template