Missing links

I noticed the new HTML parser does not call the foundLink callback
for URLs in FORM tags ( FORM/ACTION and INPUT/SRC ).

Here is the missing code.

Thanks,
	Raffaele


Index: HTML.c
===================================================================
RCS file: /sources/public/libwww/Library/src/HTML.c,v
retrieving revision 1.75
diff -b -r1.75 HTML.c
240a241,249
>     case HTML_FORM:
>  if (present[HTML_FORM_ACTION] && value[HTML_FORM_ACTION]) {
>      address = HTAnchor_findChildAndLink(me->node_anchor, NULL,
>                                       value[HTML_FORM_ACTION], NULL);
>      HTextImp_foundLink(me->text, element_number, HTML_FORM_ACTION,
>                      address, present, value);
>  }
>  break;
> 
251a261,269
>     case HTML_INPUT:
>  if (present[HTML_INPUT_SRC] && value[HTML_INPUT_SRC]) {
>      address = HTAnchor_findChildAndLink(me->node_anchor, NULL,
>                                       value[HTML_INPUT_SRC], NULL);
>      HTextImp_foundLink(me->text, element_number, HTML_INPUT_SRC,
>                      address, present, value);
>  }
>  break;
> 

---------------------------------------------
Raffaele Sena
Senior Software Engineer ( "THE" Linux Guy :)
NuvoMedia, Inc.
310 Villa Street
Mt. View, CA 94041
Main:   +1.650.314.1200
Direct: +1.650.314.1255
Fax:    +1.650.314.1201

mailto:raff@nuvomedia.com
http://www.rocket-ebook.com

Received on Thursday, 21 January 1999 14:40:02 UTC