I have been using sanitize_text_field() to sanitize a text field in a form. I need to keep the line breaks in the form so I can use nl2br to place each line break on a new line when displaying back the data.
Any ideas on how to safely sanitize and yet preserve line breaks?
Thank you