Has someone succeeded in forcing HTML::TreeBuilder to accept the full
HTML::Template syntax?
I want to be able to reformat and indent my HTML code with
HTML::Element->as_HTML. I have tweaked the hashes in HTML::Tagset, but I
find no solution for some cases, most notably this:
<select name="muh">
<tmpl_loop name="mjau">
<option value="korv"><tmpl_var name="tjomme"></option>
</tmpl_loop>
</select>
Running this through HTML::TreeBuilder (after tweaking some hashes in
HTML::Tagset), results in this code:
<select name="muh">
<tmpl_loop name="mjau">
<select>
<option value="korv"><tmpl_var name="tjomme"></option>
</select>
</tmpl_loop>
</select>
HTML::TreeBuilder inserts implicit SELECT tags within the loop. Needless
to say, the result looks pretty funny in the browser. :-)
I haven't found a way to force HTML::TreeBuilder to accept standalone
OPTION tags within TMPL_LOOP tags. Someone has a clue?
Stefan
--
Stefan Svensson Phone: +46-90-135000
Himlastigen 14 WWW: http://raggmunk.nu/~stefan/
906 41 Ume�, Sweden ICQ: 1956984
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users