On Mon, Jul 09, 2001 at 12:56:44AM +0900, [EMAIL PROTECTED] wrote:
> Hello,
> 
> In message <20010707214215.A10184@bloatware>
>       Subject: lynx-dev lynx2.8.4pre.3
>       Thomas Dickey <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]) -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.
> ---
> [EMAIL PROTECTED]
> 
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to