Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

escaping textarea values

  • Loading branch information...
commit 53fae6e54b3664492a4e41ba1e05e4f65b2be1c0 1 parent 8d07839
@Zeelot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  views/yform/themes/default/input/textarea.php
View
2  views/yform/themes/default/input/textarea.php
@@ -5,7 +5,7 @@
<label for="<?php echo Arr::get($attributes, 'id'); ?>" ><?php echo $label; ?></label>
<?php endif; ?>
- <textarea <?php echo HTML::attributes($attributes); ?>><?php echo $object->value; ?></textarea>
+ <textarea <?php echo HTML::attributes($attributes); ?>><?php echo HTML::chars($object->value); ?></textarea>
<?php foreach (Arr::get($messages, 'errors', array()) as $error): ?>
<div class="error"><?php echo $error; ?></div>
Please sign in to comment.
Something went wrong with that request. Please try again.