17-Feb-2003 01:02 Ilya Zakharevich wrote: > 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 */
Sorry, try the attached patch instead.
+2002-11-11 (2.8.5dev.10)
+* in SGMLFindTag, we translate string uppercase in-place and launch case
+ insensitive search, add SGMLFindUprTag() to cover the cases where the string
+ is readonly - LP, TD
* undo 2002-11-11 SGMLFindTag optimization (problem with color styles,
reported by IZ). Optimize the function by storing the previously found tag.
Also use my_casecomp() to decrease AS_casecomp() calls by testing the
first character manually.
sgml.c | 53 ++++++++++++++++++++++-------------------------------
sgml.h | 14 +-------------
2 files changed, 23 insertions, 44 deletions
findtag.pat
Description: Binary data
