namuit / phamlp

Automatically exported from code.google.com/p/phamlp
0 stars 0 forks source link

Haml - allows nesting that original haml does not #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The following haml will work with phamlp, but will throw exception in the 
original:

    %p This is some
      %strong random
      text

In the original haml is has to be:

    %p 
      This is some
      %strong random
      text

If using the first version, the original haml will throw the following 
exception:

    Illegal nesting: content can't both be given on the same line as %p and nested within it.

Happens on version 3.2

Original issue reported on code.google.com by relaxoph...@gmail.com on 16 Feb 2011 at 3:48