Skip to content

Commit

Permalink
disable escaping of & in -dumpcfg output
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Jan 27, 2024
1 parent de5ff6a commit a1e4869
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/tootik/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func main() {
if *dumpCfg {
cfg.FillDefaults()
e := json.NewEncoder(os.Stdout)
e.SetEscapeHTML(false)
e.SetIndent("", "\t")
if err := e.Encode(cfg); err != nil {
panic(err)
Expand Down

0 comments on commit a1e4869

Please sign in to comment.