Skip to content

Commit

Permalink
fix(bug): use html/template instead text/template for parse files (
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm authored Jan 2, 2025
1 parent 260cebf commit e7af653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- use `html/template` to parse template files (#7)

## [1.0.3] - 2025-01-01
### Changed
Expand Down
2 changes: 1 addition & 1 deletion html_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"io/fs"
"strings"
"text/template"
"html/template"

"errors"
)
Expand Down

0 comments on commit e7af653

Please sign in to comment.