perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RobertCZ <rob...@robert.cz>
Subject [Fwd: Re: Redefining common tags? (partial solution)]
Date Fri, 20 Jan 2006 09:30:35 GMT
This email doesn't seem to got to the list, so here it's again:

Please, how to URL-escape both text and color attribute in perlcode?

- Robert

$self -> AddTagBlock ('h2', ['color'], undef, undef, { perlcode => q{
        { local $escmode = 0;
            _ep_rp(%$x%, "<h2><img src=\"/img/h2.gif?color=%&color%&text="
            . XML::Embperl::DOM::Node::iChildsText(%$n%)
            . "\"></h2>");
        }}
    }) ;



Mime
View raw message