lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev entities and the sortaSGML parser


From: Klaus Weide
Subject: Re: lynx-dev entities and the sortaSGML parser
Date: Mon, 30 Nov 1998 15:24:28 -0600 (CST)

On Mon, 30 Nov 1998 address@hidden wrote:

> > A discussion on the usenet group c.i.w.browsers.misc showed that 
> > a broken document such as  
> > http://www.nybooks.com/nyrev/WWWfeatdisplay.cgi?1998120351R 
> > wasn't getting its entities interpreted (é etc.). 
> 
> I saw that, but it seems that you've looked closer than I have (thanks - it
> looks like a simple test case).  Perhaps someone will have a fix.

The following should do it.  My fault.

    Klaus

--- lynx2-8-1/WWW/Library/Implementation/SGML.c.~1~     Fri Sep 25 05:41:38 1998
+++ lynx2-8-1/WWW/Library/Implementation/SGML.c Mon Nov 30 15:14:06 1998
@@ -1380,6 +1380,7 @@
            (!context->element_stack ||
             (context->element_stack->tag  &&
              (context->element_stack->tag->contents == SGML_MIXED ||
+              context->element_stack->tag->contents == SGML_ELEMENT ||
               context->element_stack->tag->contents == SGML_PCDATA ||
               context->element_stack->tag->contents == SGML_RCDATA)))) {
            /*

reply via email to

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