Namazu-devel-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: namazu/filter committed by opengl2772



if の前のセミコロンが余計?

At Tue,  7 Oct 2003 15:31:16 +0900 (JST),
opengl2772@xxxxxxxxxxxxxxxx wrote:
> 
> Update of /storage/cvsroot/namazu/filter
> In directory karin:/storage/tmp/cvs-serv20533/filter
> 
> Modified Files:
> 	html.pl 
> Log Message:
> * pl/conf.pl.in, filter/html.pl: Added $HTML_ATTRIBUTES [n-d-j:02899].
> 
> 
> namazu/filter/html.pl 1.39 -> 1.40 (modified)
> http://cvs.namazu.org/namazu/filter/html.pl.diff?r1=1.39&r2=1.40
> 
> ===================================================================
> RCS file: namazu/filter/html.pl,v
> retrieving revision 1.39
> retrieving revision 1.40
> diff -u -r1.39 -r1.40
> --- html.pl	2003/06/07 08:34:15	1.39
> +++ html.pl	2003/10/07 06:31:15	1.40
> @@ -101,9 +101,9 @@
>      html::get_author($contref, $fields);
>      html::get_meta_tags($contref, $weighted_str, $fields);
>  #    html::get_img_alt($contref);
> -    html::get_alt_attr($contref);
> -    html::get_table_summary($contref);
> -    html::get_title_attr($contref);
> +    html::get_alt_attr($contref); if "ALT" =~ /^($conf::HTML_ATTRIBUTES)$/io;
> +    html::get_table_summary($contref); if "SUMMARY" =~ /^($conf::HTML_ATTRIBUTES)$/io;
> +    html::get_title_attr($contref); if "TITLE" =~ /^($conf::HTML_ATTRIBUTES)$/io;
>      html::normalize_html_element($contref);
>      html::erase_above_body($contref);
>      html::remove_comments($contref);
>