On Mar 6, 9:14 pm, ab5tract <[EMAIL PROTECTED]> wrote:
> Hello,
> One of the reasons I want to use Rails is to use HAML. (I can't
> imagine life with close-tags at this point).
>
> Why is Heroku responding with the following:
>
> <font size="-1">
>  Showing index/show.haml where line # raised:
>
> Illegal Nesting: Nesting within a tag that already has content is
> illegal.
>

I use Haml on my Heroku app like crazy, so it's no problem. You can do
it.

I have seen that error before. When I've seen it, the error resulted
from opening a tag, putting content in it on the same line, then
trying to nest something in it.

Example:

(This won't work):

%p here's some content
  %span now here I'm trying to nest some more content

The right way:

%p
  here's some content
  %span
    now I can nest more content no problem

Hope that helps.

Ethan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

  • HAML ab5tract
    • Re: HAML ebdb

Reply via email to