Files
podman/libpod/define
Paul Holzinger 56a24d5183 fix container inspect output to not escape html chars
The default std json behavior is to escape &, < and >. Because we print
to the terminal we do not want escapes and rather the real chars.

That is what PrintGenericJSON() does but because we have custom
MarshalJSON() overwrite on the type which called json.Marshal() this
option was not carried into that. The inner type must not escape it.

This is not a problem in the other direction because the outer
json.Marshal call will still escape the chars returned from the inner
MarshalJSON() result if needed.

Fixes: #28560

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 20:12:14 +02:00
..
2025-09-10 16:17:04 +02:00
2026-01-27 16:10:56 +01:00
2021-04-21 13:16:33 -04:00
2025-11-11 12:32:46 +01:00
2025-11-11 12:32:46 +01:00
2025-01-15 06:51:32 -05:00
2020-10-21 13:31:40 -04:00
2020-03-27 14:36:03 -04:00
2023-07-25 11:17:44 +02:00
2025-09-10 16:17:04 +02:00