[eluser]Dennis Rasmussen[/eluser]
Quote:Actually, this must be a common thing if you want to strip tags and newlines and show the raw text back to the user.
What you're doing isn't common in anyway to us.
If you don't need validation (with error messages) on newlines and returns then don't use validation for that.
Simply strip the text for the view if there's an error with the OTHER rules and then strip the text when inserted into the database (even though it's a better practice to keep the raw data in there and strip it in the output instead).
You are making it harder for yourself... when it's really not needed.