Skip to content
Snippets Groups Projects
Commit 4a694b2a authored by Jared Hancock's avatar Jared Hancock
Browse files

Properly escape htmlchars in field errors

parent 30c54e15
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
}
foreach ($field->errors() as $e) { ?>
<br />
<font class="error"><?php echo $e; ?></font>
<font class="error"><?php echo Format::htmlchars($e); ?></font>
<?php } ?>
</td>
</tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment