develooper Front page | perl.libwww | Postings from April 2001

HTML::Form->parse($html_content, $uri) && nested tags

Thread Next
From:
Marcel Preda
Date:
April 17, 2001 11:10
Subject:
HTML::Form->parse($html_content, $uri) && nested tags
Message ID:
016e01c0c769$793824f0$9700a8c0@bizmatica.com
Hi,
I'm new on this list.
I have a little problem ( libwww 5.53).
In a form like:
<FORM>
<!-- some INPUTs -->
<TEXTAREA NAME=my_text>some text <B>some bold text</B>other text </TEXTAREA>
</FORM>

I was expect that
$form->value('my_text') should be:
`some text <B>some bold text</b>other text',
but the tags <B> and </B> are ignored.
the result is:
`some text some bold text other text',
The some thing is happend with others tags, too.

Exist a way to get the right value?
(using  $form object)

Thanks!

PM



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About