[Petal] Closing single tag problem.

Gleb T. bozman at cybergal.com
Thu May 21 10:18:08 GMT 2009


Seems a bit outdated, because now it rewrites and auticloses the tag with
XML and HTML settings as well.Нow it's written in documentation:

Defines the format of the template files. Recognised values are:

  'HTML'  - Alias for 'XHTML'

  'XHTML' - Petal will use Petal::Parser to parse the template

  'XML'   - Petal will use Petal::Parser to parse the template


 It seems, that Petal use only Petal::Parser in any case.


output => 'HTML' | 'XHTML' | 'XML' (default: 'XML')


Defines the format of the data generated as a result of processing the
template files. Recognised values are:

  'HTML'  - Petal will output XHTML, self-closing certain tags

  'XHTML' - Alias for 'HTML'

  'XML'   - Petal will output generic XML


I tried to set both XML and HTML, no success. Maybe, there is another way to
set up parser?


2009/5/21 Chris Croome <chris at webarchitects.co.uk>

> Hi
>
> On Thu 21-May-2009 at 12:43:20PM +0400, Gleb T. wrote:
> >
> > <atom:link.... something ...></atom:link>
>
> This issue came up with (X)HTML, see the thread:
>
>  https://lists.webarch.co.uk/pipermail/petal/2002-August/000070.html
>
> I hope this helps...
>
> Chris
>



-- 
Кармическую заслугу, созданную посылкой этого письма я посвящаю всем живым
существам ближнего космоса. И космонавтам.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webarch.co.uk/pipermail/petal/attachments/20090521/36e1fefa/attachment.html>


More information about the Petal mailing list