Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

How to use a link as a label in HTML::Widget?

by water (Deacon)
on Jul 17, 2006 at 03:40 UTC ( #561646=perlquestion: print w/replies, xml ) Need Help??
water has asked for the wisdom of the Perl Monks concerning the following question:

HTML::Widget html-escapes the field label.

For example, the following code doesn't produce a link to Yahoo, but rather explicit visible GT and LT tags:

$e->label("<a href=\"\">$col</a>");
How can one turn this behavior off, so as to get field names which are indeed links?



Replies are listed 'Best First'.
Re: How to use a link as a label in HTML::Widget?
by CountZero (Bishop) on Jul 17, 2006 at 05:59 UTC
    I'm not a specialist of HTML::Widget, but perhaps you could try to put the label inside the link, rather than putting the link inside the label?

    There is a HTML::Widget mailinglist. If you cannot find the answer in our Monastery, you can try there.


    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://561646]
Approved by sgifford
[Corion]: Whoa! I haven't invoked Crunchy today! But thanks to Crunchy, it's Friday! ;)
[Corion]: A good morning to everybody ;)
[Discipulus]: regular as always.. good morning Corion
[Corion]: Hi Discipulus ;) A good morning to you :)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-01-20 07:52 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (173 votes). Check out past polls.