OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25637e0
)
BugTrack/2247 External link cushion page
author
umorigu
<umorigu@gmail.com>
Mon, 14 Jan 2019 16:46:42 +0000
(
01:46
+0900)
committer
umorigu
<umorigu@gmail.com>
Mon, 14 Jan 2019 16:46:42 +0000
(
01:46
+0900)
lib/html.php
patch
|
blob
|
history
diff --git
a/lib/html.php
b/lib/html.php
index
c35f3ed
..
3ba8c3f
100644
(file)
--- 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
<input type="hidden" class="external-link-cushion" value="$h_cushion" />
EOS;