Don't strip slashes from data send to htmlarea, after all it is not being stripped from data going to the normal textarea either.

This commit is contained in:
gustav_delius 2006-10-07 17:20:35 +00:00
parent 1ca20e0272
commit 6a8b20b790

View file

@ -3593,7 +3593,7 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v
}
$str .= '<textarea class="form=textarea" id="edit-'. $name .'" name="'. $name .'" rows="'. $rows .'" cols="'. $cols .'">';
if ($usehtmleditor) {
$str .= htmlspecialchars(stripslashes_safe($value)); // needed for editing of cleaned text!
$str .= htmlspecialchars($value); // needed for editing of cleaned text!
} else {
$str .= s($value);
}