diff --git a/cmd/flux/logs.go b/cmd/flux/logs.go
index 3dc0f90383d915cebf194797a38aff340772f8e6..b16d044d4fdd9ee9d7891ed4b08249383dfd6cfd 100644
--- a/cmd/flux/logs.go
+++ b/cmd/flux/logs.go
@@ -21,12 +21,12 @@ import (
 	"context"
 	"encoding/json"
 	"fmt"
-	"html/template"
 	"io"
 	"os"
 	"sort"
 	"strings"
 	"sync"
+	"text/template"
 	"time"
 
 	"github.com/spf13/cobra"