Alright, reading my original post maybe I wasn't clear enough...

I am writing haml to a database via a form that is then rendered as a
static page to my site. If I want to make changes to the page and edit
it via an edit form, the spacing in the textarea is messed up.

On Jun 17, 2:08 am, Chris Eppstein <[email protected]> wrote:
> There's very little actionable information in this post to get any help.
>
> However, I've seen haml do nasty things to the preformatted content of
> textareas if you're not careful.
>
> I work around this issue where it matters to me by simply rendering the text
> area in a helper using rails view helper methods. Maybe others have
> suggestions that are more haml-esque.
>
> chris
>
> On Tue, Jun 16, 2009 at 10:57 PM, lardawge <[email protected]> wrote:
>
> > I have a cms that I would like to use haml with. I am converting it
> > correctly and it displays fine when I read it from the db. Problem is
> > when I go to edit it. All of the spacing is messed up and there are
> > spaces added. This is fine for any other template language but
> > obviously wreaks havoc on haml... What is the solution to this? How
> > are others handling it?
>
> > Thanks for any suggestions,
> > Larry
--~--~---------~--~----~------------~-------~--~----~
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