From 83a95d80e0fc3d8bdccf79fb1106a04903685090 Mon Sep 17 00:00:00 2001 From: umorigu Date: Tue, 15 Jan 2019 01:46:42 +0900 Subject: [PATCH] BugTrack/2247 External link cushion page --- lib/html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/html.php b/lib/html.php index c35f3ed..3ba8c3f 100644 --- a/lib/html.php +++ b/lib/html.php @@ -296,8 +296,7 @@ EOS; // External link cushion page $external_link_cushion_data = ''; if ($external_link_cushion_page) { - $h_cushion = htmlsc(json_encode($external_link_cushion, - JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); + $h_cushion = htmlsc_json($external_link_cushion); $external_link_cushion_data = << EOS; -- 2.11.0