Thanks for the reply, I figured it out. Like 99% of the time with HAML
I had an extra space -
 margin {
      background: #fff;
      width: 120px;
      }
Something like that in code view didn't work, I had to pull everything
to the margin:
 margin {
 background: #fff;
 width: 120px;
 }

Really it was a simplified question, so I guess you could make the
assumption I was a total web newbie. But no matter what, thanks for a
reply to head me in the correct direction. I was assuming it was an
issue with the escape characters, instead it was a tab issue.

On Jan 26, 12:03 pm, Nathan Weizenbaum <[email protected]> wrote:
> You need to HTML-escape your text. This is a pretty basic HTML issue -- I
> would strongly recommend you read up on HTML before diving head-first into
> Haml and Sinatra.
>
>
>
> On Tue, Jan 26, 2010 at 11:17 AM, tspore <[email protected]> wrote:
> > How do I get haml and Sinatra to display code view. So that it will
> > not parse code such as <h1> text</h1> etc?
>
> > I have for example:
> > %pre
> >  code
> >  <h1> wow text</h1>
>
> > Thanks
>
> > --
> > 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] <haml%[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