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