* Fixed a bug with psrcview on lss-enabled lynx. Code like <a blah href=.>
  (i.e. unknown attribute and then some other attribute) was causing calling
  PSRCSTOP(barattr) twice (and lynx was switched to "non-preformatted" mode
  loosing all white spaces of the document after that piece of code) -VH


 Best regards,
  -Vlad

diff -ru old/WWW/Library/Implementation/SGML.c fixed/WWW/Library/Implementation/SGML.c
--- old/WWW/Library/Implementation/SGML.c       Tue Feb 15 08:07:39 2000
+++ fixed/WWW/Library/Implementation/SGML.c     Thu Apr  6 14:59:50 2000
@@ -3560,11 +3560,13 @@
            break;
        }
 #ifdef USE_PRETTYSRC
+#if 0 /*seems this is not needed. It was causing some LSS style stack underflow -VH*/
        /* we are here because this char seemed the beginning of attrname */
        if (psrc_view && context->current_attribute_number == INVALID) {
            PSRCSTOP(badattr);
            PUTC(' ');
        }
+#endif 
 #endif
        HTChunkPutc(string, c);
        context->state = S_attr; /* Get next attribute */

Reply via email to