[Html-widget] HTML::Widget and Images inside the <form>

Robert 'phaylon' Sedlacek phaylon+html-widget at dunkelheit.at
Thu Jul 20 17:40:44 CEST 2006


Krzysztof Krzyzaniak said:

> hack is because you cannot put HTML content into span element.

The CPAN Version of H:W creates a HTML::Element object for the <span> and
inserts the content with push_content. So it /should/ be possible to just
supply a HTML::Element object (for the <img> for example) and that would
be in the span. IIRC it does this with labels as well.

The remaining question (for the devs) is, is this intended or a side
effect that could change?


p




More information about the Html-widget mailing list