Skip to content

Commit

Permalink
escaping textarea values
Browse files Browse the repository at this point in the history
  • Loading branch information
zeelot committed Jul 14, 2010
1 parent 8d07839 commit 53fae6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/yform/themes/default/input/textarea.php
Expand Up @@ -5,7 +5,7 @@
<label for="<?php echo Arr::get($attributes, 'id'); ?>" ><?php echo $label; ?></label> <label for="<?php echo Arr::get($attributes, 'id'); ?>" ><?php echo $label; ?></label>
<?php endif; ?> <?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): ?> <?php foreach (Arr::get($messages, 'errors', array()) as $error): ?>
<div class="error"><?php echo $error; ?></div> <div class="error"><?php echo $error; ?></div>
Expand Down

0 comments on commit 53fae6e

Please sign in to comment.