Do you mean *line breaks*? Those are generally ignored by browsers. If you want the line breaks to be "preserved" (they're still there, just mostly useless in a browser) when displaying the content, you'll need to run it through nl2br(). Either that, or use a WYSIWYG widget to create proper paragraphs.
http://www.php.net/manual/en/function.nl2br.php On Tue, May 5, 2009 at 10:05 PM, park <[email protected]> wrote: > > Hi, > > It seems that cake automatically removes paragraphs breaks from > textareas on form submission. > > So anything user inputs will end up one long paragraph. > > Is there a way to preserve the paragraph breaks? > > Thank you! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
