Замена short_tags и <?php echo.
This commit is contained in:
@@ -39,8 +39,8 @@ if (!empty($_POST))
|
||||
$value = htmlspecialchars( (string)$value );
|
||||
?>
|
||||
<tr>
|
||||
<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
|
||||
<td><pre class="samples"><?php echo $value; ?></pre></td>
|
||||
<th style="vertical-align: top"><?= htmlspecialchars( (string)$key ); ?></th>
|
||||
<td><pre class="samples"><?= $value; ?></pre></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user