Thought I would post this to help anyone who might encounter a
similiar problem in the future.

I have a textarea where the user can type multiple paragraphs.

$Sanitize->paranoid() was stripping out the paragraph breaks. When the
textarea was redisplayed, the contents showed up as a single long
paragraph, instead of multiple paragraphs.

I tried including '\n', '\r' in the paranoid exclusion list, but it
didn't help.

What worked in the end was putting '[:space:]' into the paranoid
exclusion list.

hth.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to