If its just text you can just indent the content underneath the element.

%p
  long text...
  more long text...
  etc....

On Dec 8, 2009, at 6:51 AM, Jim wrote:

> Such a newbie question...   In a view I have a largeish chunk of text
> that is one long string that will go in a paragraph tag. How can I
> wrap these text lines in my editor and yet not have haml recognize
> those line breaks? I have tried escaping by adding a \ at the end of
> each line, and can't seem to find any reference to this in the doco.
> 
> I only want to break it up in my view file so I am not scrolling
> sideways forever in my editor.
> 
> PS. LOVE haml - recently forced to use it because I took over someone
> else's rails project. Never quite felt the need before and now I can't
> get enough. Thanks for this elegant tool!
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Haml" 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/haml?hl=en.
> 
> 

--

You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en.


Reply via email to