mirror of
https://github.com/containers/skopeo.git
synced 2026-07-14 13:48:32 +00:00
By default, the JSON encoder from the Go standard library escapes the HTML characters which causes the maintainer output looks strange: "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e" Instead of: "maintainer": "NGINX Docker Maintainers <docker-maint@nginx.com>" This patch fixes this issue in "buildah-inspect" only as this is the only place that such characters are displayed. Note: if the output of "buildah-inspect" is piped or redirected then the HTML characters are not escaped. Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com> Closes: #421 Approved by: rhatdan