Merge pull request #54 from ss-gxp/fix-error-message-to-html

Fix - convert html special chars in error message
This commit is contained in:
Dmitry Khomutov 2017-04-06 15:07:11 +07:00 committed by GitHub
commit 506af65421

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>