用replace强转
This commit is contained in:
@@ -39,7 +39,10 @@
|
|||||||
<div class="ui existing segment">
|
<div class="ui existing segment">
|
||||||
<pre v-if="escape" style="margin-top: 0; margin-bottom: 0; " id="errtxt"><?php
|
<pre v-if="escape" style="margin-top: 0; margin-bottom: 0; " id="errtxt"><?php
|
||||||
$xxx = htmlspecialchars_decode($view_reinfo,ENT_QUOTES);
|
$xxx = htmlspecialchars_decode($view_reinfo,ENT_QUOTES);
|
||||||
$xxx = htmlspecialchars_decode($xxx,ENT_QUOTES);
|
// 把<变成<
|
||||||
|
$xxx =str_replace("<","<",$xxx);
|
||||||
|
// 把>变成>
|
||||||
|
$xxx =str_replace(">",">",$xxx);
|
||||||
echo $xxx;
|
echo $xxx;
|
||||||
?>
|
?>
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user