Carl Franks wrote:
> On 18/04/07, Bernhard Graf <[EMAIL PROTECTED]> wrote:
> > Short question:
> >
> > Is there a way for literal texts in labels in HTML::Widget?
> > I need labels with HTML code being untouched.
>
> There are some places a ~literal element can't be used - I'm not sure
> if labels are one of them - but the standard way to use a literal
> HTML string in HTML::Widget is rather than this:
> $e->foo( $HTML );
> do this instead:
> $e->foo( HTML::Element->new('~literal', text => $HTML) );
That works! Many thanks!
--
Bernhard Graf
_______________________________________________
Html-widget mailing list
[email protected]
http://lists.rawmode.org/cgi-bin/mailman/listinfo/html-widget