回答編集履歴

2

文面を微修正

2015/08/27 00:06

投稿

hy3
hy3

スコア594

test CHANGED
@@ -6,6 +6,6 @@
6
6
 
7
7
 
8
8
 
9
- ただ、DB内のデータが最終的にHTML上に出力するためのものであるならば、戻す必要自体ないしれせん
9
+ ただ、DB内のデータが最終的にHTML上に出力するためのものであるならば、戻ない方が安全な可能性あり
10
10
 
11
11
  「HTMLエスケープ」について調べてから判断をすることをお勧めします。

1

URL生貼りからハイパーリンクへ修正

2015/08/27 00:06

投稿

hy3
hy3

スコア594

test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  戻すだけならば、PHPのhtmlspecialchars_decode関数を使うことで簡単に戻せます。
4
4
 
5
- http://php.net/manual/ja/function.htmlspecialchars-decode.php
5
+ [PHP.net内のhtmlspecialchars_decode関数リファレンス](http://php.net/manual/ja/function.htmlspecialchars-decode.php)
6
6
 
7
7
 
8
8