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