Seems a bit outdated, because now it rewrites and auticloses the tag with XML and HTML settings as well.
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?