Fix - convert html special chars in error message

This commit is contained in:
Stepan Strelets 2017-04-06 10:25:11 +03:00
commit 18f4abc98b

View file

@ -31,7 +31,7 @@ foreach ($errors as $error):
?>
</a>
</td>
<td class="visible-line-breaks"><?= trim($error->getMessage()); ?></td>
<td class="visible-line-breaks"><?= htmlspecialchars(trim($error->getMessage())); ?></td>
</tr>