>From http://www.w3.org/TR/html401/struct/text.html#h-9.3.1
The P element represents a paragraph. It *cannot* contain block-level elements (including P itself). [emphasis mine] On Fri, Jun 5, 2009 at 8:11 AM, Josh <[email protected]> wrote: > > To be cute I did this as a temporary placeholder... > > %h3 Calendar > %p > This is > %p > where the > %p > calendar > %p will go > > This is the resulting markup: > > <div id="calendar"> > <h3>Calendar</h3> > <p> > This is > </p><p> > > where the > </p><p> > calendar > </p><p>will go</p> > > > > </div> > > Notice that the P tags are not nested. > > Is this expected behavior? Maybe nesting P tags is illegal in which > case shouldn't HAML be throwing an error? Either way I think > something is a bit awry. > > > -- Bradley Grzesiak [email protected] http://toleoandbeyond.blogspot.com * You have received an email from my personal account. Please do not divulge this address to any website (eg: evite, shutterfly, etc). I have another address for such uses; please ask me for it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
