From 7c6e83c6fe05e9522f3a6f3e899e0b614e3d1756 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Wed, 21 Jun 2023 13:45:43 +0530 Subject: [PATCH] Fix an issue where explain plan details is showing HTML escaped characters. #6352 --- docs/en_US/release_notes_7_4.rst | 1 + web/pgadmin/static/js/Explain/Graphical.jsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en_US/release_notes_7_4.rst b/docs/en_US/release_notes_7_4.rst index a3d2c8324..7eb7d0774 100644 --- a/docs/en_US/release_notes_7_4.rst +++ b/docs/en_US/release_notes_7_4.rst @@ -37,6 +37,7 @@ Bug fixes | `Issue #6266 `_ - When opening pgAdmin the layout should be auto reset if it is corrupted. Reset layout menu should work if layout is corrupted while using pgAdmin. | `Issue #6291 `_ - Fix an issue where loading more rows indicator will not disappear if connection is lost. | `Issue #6340 `_ - Fix an encoding error when connecting through Pgbouncer. + | `Issue #6352 `_ - Fix an issue where explain plan details is showing HTML escaped characters. | `Issue #6354 `_ - Fixed an issue where queries with temporary tables in the same transaction is not working. | `Issue #6363 `_ - Fixed an issue where preview images for themes were not loading. | `Issue #6420 `_ - Fix raise notice from func/proc or code blocks are no longer displayed live. diff --git a/web/pgadmin/static/js/Explain/Graphical.jsx b/web/pgadmin/static/js/Explain/Graphical.jsx index 91d452b65..5d7ec2f8c 100644 --- a/web/pgadmin/static/js/Explain/Graphical.jsx +++ b/web/pgadmin/static/js/Explain/Graphical.jsx @@ -196,8 +196,8 @@ function NodeDetails({plan, download=false}) { return `${key}: ${plan[key]}\n`; } else { return ( - {_.escape(key)} - {_.escape(plan[key])} + {key} + {plan[key]} ); } })}