[Petal] Closing single tag problem.

Gleb T. bozman at cybergal.com
Thu May 21 08:43:20 GMT 2009


Hello!
While writing small script for home use, I've found a strange behavior
of Petal. It's about closing single tags. I am use Petal for building
an rss feed, so I have to do something like this:

<atom:link petal:attributes="href feedlink" ... something .... />

Single tag. But Petal always auto-closes it, writing something un-validable:

<atom:link.... something ...></atom:link>

Is there a way to tell Petal, which tags must be left single? Or, just
switch off autoclosing?
I would not like to hack into Petal source, because it makes a good
start for future problems (with upgrade).

English is not my native language, sorry for possible errors.

Looking forward to hearing something, Gleb



More information about the Petal mailing list