修订版 | 83a95d80e0fc3d8bdccf79fb1106a04903685090 (tree) |
---|---|
时间 | 2019-01-15 01:46:42 |
作者 | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack/2247 External link cushion page
@@ -296,8 +296,7 @@ EOS; | ||
296 | 296 | // External link cushion page |
297 | 297 | $external_link_cushion_data = ''; |
298 | 298 | if ($external_link_cushion_page) { |
299 | - $h_cushion = htmlsc(json_encode($external_link_cushion, | |
300 | - JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); | |
299 | + $h_cushion = htmlsc_json($external_link_cushion); | |
301 | 300 | $external_link_cushion_data = <<<EOS |
302 | 301 | <input type="hidden" class="external-link-cushion" value="$h_cushion" /> |
303 | 302 | EOS; |