lynx-dev
[Top][All Lists]
Advanced

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

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


From: nsh
Subject: lynx-dev lynx2.8.4pre.3 has the problem of "= " yet
Date: Mon, 09 Jul 2001 00:56:44 +0900

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


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

reply via email to

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