(03-30-2015, 10:40 AM)silentium Wrote: Did you test is outside of the form_textarea() or only inside of it? If you test set_value() separately, does it still not work?
Today, I tested it outside the form_textarea(). This gives the right result!
PHP Code:
<p>
Description:<br />
<?php echo '<textarea name="description" rows="16" class="tinymce">' . set_value('omschrijving',$omschrijving) . '</textarea>';?>
</p>
In that case, there are no unwanted html tags showing up in my textarea. Conclusion: the form_textarea() function in combination with set_value() is not escaping the html tags correctly.
Thanks for the tip!