Skip to content

Commit

Permalink
[bugfix] Fix 29a15b7: [builtin] apply: misuse http/template as …
Browse files Browse the repository at this point in the history
…`text/template`

The bug causes some punctuation characters to be escaped according to the HTML standard.
  • Loading branch information
jellyterra committed Jun 18, 2024
1 parent 5fc64b2 commit 2f15367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ require (
github.com/bytesparadise/libasciidoc v0.8.0
github.com/fsnotify/fsnotify v1.7.0
github.com/gomarkdown/markdown v0.0.0-20240419095408-642f0ee99ae2
github.com/gorilla/websocket v1.5.3
)

require (
Expand All @@ -15,7 +16,6 @@ require (
github.com/dlclark/regexp2 v1.4.0 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/mna/pigeon v1.1.0 // indirect
github.com/onsi/ginkgo/v2 v2.1.3 // indirect
github.com/pkg/errors v0.9.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion structure/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"github.com/webpagine/pagine/v2/global"
"github.com/webpagine/pagine/v2/render"
"github.com/webpagine/pagine/v2/vfs"
"html/template"
"maps"
"path/filepath"
"strings"
"text/template"
)

type UnitReport struct {
Expand Down

0 comments on commit 2f15367

Please sign in to comment.