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).


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]

Reply via email to