Skip to content

Commit

Permalink
Merge pull request #7083 from Luap99/fix-template-escaping
Browse files Browse the repository at this point in the history
replace the html/template package with text/template
  • Loading branch information
openshift-merge-robot authored Jul 27, 2020
2 parents 11e8e65 + 8a45703 commit 71f7150
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/podman/networks/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package network
import (
"encoding/json"
"fmt"
"html/template"
"io"
"os"
"strings"
"text/template"

"github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/containers/libpod/v2/pkg/domain/entities"
Expand Down
2 changes: 1 addition & 1 deletion cmd/podman/networks/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package network
import (
"encoding/json"
"fmt"
"html/template"
"os"
"strings"
"text/tabwriter"
"text/template"

"github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/containers/libpod/v2/cmd/podman/validate"
Expand Down
2 changes: 1 addition & 1 deletion cmd/podman/system/df.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package system

import (
"fmt"
"html/template"
"io"
"os"
"strings"
"text/tabwriter"
"text/template"
"time"

"github.com/containers/libpod/v2/cmd/podman/registry"
Expand Down
2 changes: 1 addition & 1 deletion cmd/podman/system/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package system
import (
"bufio"
"context"
"html/template"
"os"
"strings"
"text/template"

"github.com/containers/buildah/pkg/formats"
"github.com/containers/libpod/v2/cmd/podman/registry"
Expand Down
2 changes: 1 addition & 1 deletion cmd/podman/volumes/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package volumes

import (
"fmt"
"html/template"
"os"
"strings"
"text/template"

"github.com/containers/buildah/pkg/formats"
"github.com/containers/libpod/v2/cmd/podman/registry"
Expand Down
2 changes: 1 addition & 1 deletion cmd/podman/volumes/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package volumes
import (
"context"
"fmt"
"html/template"
"io"
"os"
"strings"
"text/tabwriter"
"text/template"

"github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/containers/libpod/v2/cmd/podman/validate"
Expand Down

0 comments on commit 71f7150

Please sign in to comment.