php函数

htmlspecialchars_decode() 函数把一些预定义的 HTML 实体转换为字符。

$str = "This is some bold text.";
echo htmlspecialchars_decode($str);
?>

会被解析成




This is some bold text.

用户商品详情的输出。


{sh:$info.intro|htmlspecialchars_decode}

原始输出

你可能感兴趣的:(php函数)