on the right track. I am using pre tags in my markup and didn't want to have
to go through all of my controllers looking for each instance of
Sanitize::clean, so I now have this as line 236 in sanitize.php:
$data = str_replace('\n', "\n", $data);
mathew-2 wrote:
>
>
> If you read my post further up from today. I already posted the source
> code that resolves your problem.
> >
>
>
--
View this message in context: http://n2.nabble.com/Sanitize%3A%3Ahtml-replacing-newlines-with-literal-%5Cn-tp1608411p1615174.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment