lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev [PATCH 2.8.5-dev14] Enable styles back


From: Ilya Zakharevich
Subject: lynx-dev [PATCH 2.8.5-dev14] Enable styles back
Date: Mon, 17 Feb 2003 01:02:39 -0800
User-agent: Mutt/1.4i

Styles do not work any more (at least on OS/2).  The following patch
fixes this:

--- ./src/LYStyle.c-pre Wed Jan 22 01:43:12 2003
+++ ./src/LYStyle.c     Fri Feb 14 16:34:20 2003
@@ -342,6 +342,8 @@ where OBJECT is one of EM,STRONG,B,I,U,B
     {
        int element_number = -1;
        HTTag * t = SGMLFindTag(&HTML_dtd, element);
+
+       strtolower(element);            /* SGMLFindTag() could upcase */
        if (t && t->name) {
            element_number = t - HTML_dtd.tags;
        }

I do not know whether this is a "correct" fix.

Hope this helps,
Ilya

P.S.  I see that two of my patches of 2001 (hot-spot for pasting at
        the UR corner, and /bin/rm-independent unlink()) were missed.
        The message IDs are

                address@hidden
                address@hidden

        Should I resend?  [the patches apply cleanly.]

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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