[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev chartrans: ALT= tag without quotes - FIXED!
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev chartrans: ALT= tag without quotes - FIXED! |
Date: |
Fri, 8 Jan 1999 01:57:21 +0300 (MSK) |
> 990105 Leonid Pauzner wrote:
>> I found out a problem with anchore attribute happen without quotes,
>> namely with ALT= (but also possible with NAME= or HREF=).
>> By some misterious reason first letter was converted to capital "I",
>> probably the first letter was not restored from checking for existance
>> of opening quote on some earlier parsing stage.
>> http://www.detki-predki.aha.ru
>> near the top you got "Iarinka", should be "Marinka" - check '\' for source.
>> (the text is in russian but that doesn't matter)
> i get your I/M effect with 2-8-1pre.2
Well, I fix the problem.
* Fix parsing of ALT=value attribute when the value is not quoted.
When the first character is not us-ascii it was corrupted in all(!) versions
of lynx. Fix case S_equals in SGML_character(). - LP
diff -u old/sgml.c ./sgml.c
--- old/sgml.c Sat Jan 2 01:07:32 1999
+++ ./sgml.c Fri Jan 8 01:38:12 1999
@@ -2583,9 +2583,8 @@
context->state = S_dquoted;
break;
}
- HTChunkPutc(string, c);
context->state = S_value;
- break;
+ /* no break! fall through to S_value and proccess current `c` */
case S_value:
if (WHITE(c) || (c == '>')) { /* End of word */
- lynx-dev chartrans: ALT= tag without quotes "..." problem, Leonid Pauzner, 1999/01/05
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, dickey, 1999/01/05
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, Leonid Pauzner, 1999/01/05
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, Philip Webb, 1999/01/05
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, Eduardo Chappa L., 1999/01/05
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, Leonid Pauzner, 1999/01/05
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, Eduardo Chappa L., 1999/01/06
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, Leonid Pauzner, 1999/01/06
- Re: lynx-dev chartrans: ALT= tag without quotes "..." problem, Philip Webb, 1999/01/06
- Re: lynx-dev chartrans: ALT= tag without quotes - FIXED!,
Leonid Pauzner <=