[Html-widget] literals
Carl Franks
fireartist at gmail.com
Wed Apr 18 15:20:02 GMT 2007
On 18/04/07, Bernhard Graf <html-widget at augensalat.de> 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) );
Carl
More information about the Html-widget
mailing list