Merge pull request #7083 from Luap99/fix-template-escaping

replace the html/template package with text/template
This commit is contained in:
OpenShift Merge Robot
2020-07-27 12:52:51 +02:00
committed by GitHub
6 changed files with 6 additions and 6 deletions

View File

@ -3,10 +3,10 @@ package network
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"html/template"
"io" "io"
"os" "os"
"strings" "strings"
"text/template"
"github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/containers/libpod/v2/pkg/domain/entities" "github.com/containers/libpod/v2/pkg/domain/entities"

View File

@ -3,10 +3,10 @@ package network
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"html/template"
"os" "os"
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"text/template"
"github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/containers/libpod/v2/cmd/podman/validate" "github.com/containers/libpod/v2/cmd/podman/validate"

View File

@ -2,11 +2,11 @@ package system
import ( import (
"fmt" "fmt"
"html/template"
"io" "io"
"os" "os"
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"text/template"
"time" "time"
"github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/cmd/podman/registry"

View File

@ -3,9 +3,9 @@ package system
import ( import (
"bufio" "bufio"
"context" "context"
"html/template"
"os" "os"
"strings" "strings"
"text/template"
"github.com/containers/buildah/pkg/formats" "github.com/containers/buildah/pkg/formats"
"github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/cmd/podman/registry"

View File

@ -2,9 +2,9 @@ package volumes
import ( import (
"fmt" "fmt"
"html/template"
"os" "os"
"strings" "strings"
"text/template"
"github.com/containers/buildah/pkg/formats" "github.com/containers/buildah/pkg/formats"
"github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/cmd/podman/registry"

View File

@ -3,11 +3,11 @@ package volumes
import ( import (
"context" "context"
"fmt" "fmt"
"html/template"
"io" "io"
"os" "os"
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"text/template"
"github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/containers/libpod/v2/cmd/podman/validate" "github.com/containers/libpod/v2/cmd/podman/validate"