Excuse my post-turkey reply from my phone. :) PHPTAL does not parse the HTML as a web browser would, it parses it has an XML document. So you must provide valid XML input.
As for HTML5 boilderplate, I regularily use it with PHPTAL, you just have to adjust the input HTML to be valid XML. On Nov 24, 2011 4:21 PM, "Anton Andriyevskyy" <x.meg...@gmail.com> wrote: > I tried to add / at the end manually, but now it says another error: > > *Attribute defer in < script > does not have value (found character 's' > instead of '=')* > > ... so looks like it really wants XHTML in the input, which is not > possible with html5boilerplate. > > Is there a way to take html5 input, or must I get rid of html5boilerplate > until I will find the way to get html5boilerplate output xhtml? > > Regards, > Anton > > > > On Thu, Nov 24, 2011 at 11:13 PM, <ajcri...@gmail.com> wrote: > >> PHPTAL requires xhtml input for the purposes of parsing, so you will have >> to close your tags. After parsing, does PHPTAL output a closed link or not? >> Sent via BlackBerry by AT&T >> >> -----Original Message----- >> From: Anton Andriyevskyy <x.meg...@gmail.com> >> Sender: phptal-boun...@lists.motion-twin.com >> Date: Thu, 24 Nov 2011 23:10:07 >> To: Template Attribute Language for PHP<phptal@lists.motion-twin.com> >> Reply-To: Template Attribute Language for PHP < >> phptal@lists.motion-twin.com> >> Subject: [PHPTAL] HTML5 - requires <link> to be closed >> >> _______________________________________________ >> PHPTAL mailing list >> PHPTAL@lists.motion-twin.com >> http://lists.motion-twin.com/mailman/listinfo/phptal >> >> >> >> _______________________________________________ >> PHPTAL mailing list >> PHPTAL@lists.motion-twin.com >> http://lists.motion-twin.com/mailman/listinfo/phptal >> > > > _______________________________________________ > PHPTAL mailing list > PHPTAL@lists.motion-twin.com > http://lists.motion-twin.com/mailman/listinfo/phptal > >
_______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal