Various bugs in Amaya 1.2a (continued)

last May 28, I wrote:
> * '>' or '>';
>   Stand-alone '>' characters in text are left as-is when
>   Amaya saves it to a file. Unfortunately Word 97 treats
>   this as an invalid character when reading HTML.

I now found the place where the conversion from '>' to '>'
should occur, and created a patch (which is attached to this
mail). I didn't manage to compile Amaya on my Linux machine,
so I cannot check if this fix is O.K., but it looks
streight-forward.

In reality this 'bug' is in libwww, so I'm not sure whether
I am reporting it to the right place or not. If not where
else should I report this?

Is it possible that this patch will be evaluated for
inclusion in the next release of Amaya ? Or, even better,
in the next release of libwww.

Thanks,
-- 
    Jan Nijtmans, CMG (Computer Management Group) Arnhem B.V.
    email: Jan.Nijtmans@wxs.nl (private)
           Jan.Nijtmans@cmg.nl (work)
    url:   http://home.wxs.nl/~nijtmans/
*** w3c-libwww-5.0a/Library/src/HTMLGen.c.orig	Wed Jun 10 12:16:43 1998
--- w3c-libwww-5.0a/Library/src/HTMLGen.c	Wed Jun 10 12:18:46 1998
***************
*** 216,221 ****
--- 216,222 ----
  {
      if (c=='&') HTMLGen_output_string(me, "&");
      else if (c=='<') HTMLGen_output_string(me, "&lt;");
+     else if (c=='>') HTMLGen_output_string(me, "&gt;");
      else if (me->seven_bit && ((unsigned char)c > 127)) {
          char temp[8];
  	sprintf(temp, "&%d;", c);

Received on Wednesday, 10 June 1998 09:31:01 UTC