Escaping textarea content
- by user198729
<textarea><?php echo htmlspecialchars($content)?></textarea>
Does content inside <textarea need to be converted into HTML entities? Is htmlspecialchars necessary here? I tried with and without it, and both work for the content I used.