[greenstone-devel] Make GSDL HTML 4.01 valid

From Emanuel Dejanu
DateMon, 17 Jan 2005 07:04:28 +0200
Subject [greenstone-devel] Make GSDL HTML 4.01 valid
In-Reply-To (41E43C37-5020100-cs-waikato-ac-nz)

I will like to see Greenstone be valid at least at HTML 4 level.
The best will be to make it XHTML valid but this can take more time.


The most problematic case is with URI where we have & instead of &.
This require changes also in C++ source files from recpt directory.

Best regards,

Emanuel Dejanu

-----Original Message-----
From: Michael Dewsnip [mailto:mdewsnip@cs.waikato.ac.nz]
Sent: Tuesday, January 11, 2005 10:51 PM
To: Emanuel Dejanu
Cc: greenstone-devel@list.scms.waikato.ac.nz
Subject: Re: [greenstone-devel] Bug in ghtml

Dear Emanuel,

Quite right, thanks very much for reporting this. I have committed this fix
into CVS.

All the best,


Emanuel Dejanu wrote:

>I have found the following bug in function html2txt from perllib/ghtml.pm.
>$_[0] =~ s/<[^>]>//g if $_[1];
>should be
>$_[0] =~ s/<[^>]*>//g if $_[1];
>Best regards,
>Emanuel Dejanu
>greenstone-devel mailing list