aboutsummaryrefslogblamecommitdiffstats
path: root/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport
blob: 6b30c1cc6d058545327cf787835c6d4367a55884 (plain) (tree)


























                                                                             
PATCH: -p1

--- w3m-0.3/file.c	Tue Mar  5 16:58:09 2002
+++ w3m-0.3-ja/file.c	Thu Dec  5 17:30:30 2002
@@ -2975,11 +2975,11 @@
 		Strcat_charp(tmp, html_quote(Strnew_charp_n(q, nw)->ptr));
 	    }
 	    else
-		Strcat_charp(tmp, q);
+		Strcat_charp(tmp, html_quote(q));
 	}
 	else
 #endif
-	    Strcat_charp(tmp, q);
+	    Strcat_charp(tmp, html_quote(q));
 	goto img_end;
     }
     if (w > 0 && i > 0) {
@@ -6105,7 +6105,7 @@
 	HTMLlineproc0(lineBuf2->ptr, &htmlenv1, internal);
     }
     if (obuf.status != R_ST_NORMAL)
-	HTMLlineproc1(correct_irrtag(obuf.status)->ptr, &htmlenv1);
+	HTMLlineproc0(correct_irrtag(obuf.status)->ptr, &htmlenv1, internal);
     obuf.status = R_ST_NORMAL;
     completeHTMLstream(&htmlenv1, &obuf);
     flushline(&htmlenv1, &obuf, 0, 2, htmlenv1.limit);