lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev lynx2.8.4pre.3 has the problem of "= " yet


From: Thomas Dickey
Subject: Re: lynx-dev lynx2.8.4pre.3 has the problem of "= " yet
Date: Sun, 8 Jul 2001 12:22:09 -0400
User-agent: Mutt/1.2.5i

On Mon, Jul 09, 2001 at 12:56:44AM +0900, address@hidden wrote:
> Hello,
> 
> In message <address@hidden>
>       Subject: lynx-dev lynx2.8.4pre.3
>       Thomas Dickey <address@hidden> writes:
> 
> > 2001-07-07 (2.8.4pre.3)
> > * revert dev.21 change to SGML_character() S_equals case, which has 
> > undesirable
> >   side effects regarding spacing around '=' (report by address@hidden) -TD
> 
> Oh, I don't think recovery from the missing attribute value
> is not a bad idea, however, if you will revert the change,
> the fix is not complete and the problem is still there.
> 
> This patch will SIMPLY revert to before (dev20).

ok.  (I misread my patch when deciding how to revert it).   I did investigate
the behavior and didn't see a way to provide the special case that I was
addressing.  But I'll keep that in mind for later.
 
> 
> diff -ru lynx2-8-4/WWW/Library/Implementation/SGML.c.orig 
> lynx2-8-4/WWW/Library/Implementation/SGML.c
> --- lynx2-8-4/WWW/Library/Implementation/SGML.c.orig  Sun Jul  8 10:30:13 2001
> +++ lynx2-8-4/WWW/Library/Implementation/SGML.c       Sun Jul  8 23:50:51 2001
> @@ -3649,6 +3649,8 @@
>       break;
>  
>      case S_equals:           /* After attr = */
> +     if (WHITE(c))
> +         break;              /* Before attribute value */
>       if (c == '>') {         /* End of tag */
>           CTRACE((tfp, "SGML: found = but no value\n"));
>  #ifdef USE_PRETTYSRC
> 
> 
> Thank you.
> ---
> address@hidden
> 
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]