Annotation of parser3/src/patches/libxslt_html_output_no_charset_meta.patch, revision 1.2
1.1 paf 1: --- libxslt/xsltutils.c.0 Sat Dec 1 06:55:00 2001
1.2 ! paf 2: +++ libxslt/xsltutils.c Wed Jan 23 14:40:49 2002
1.1 paf 3: @@ -798,11 +798,6 @@
4:
5: if ((method != NULL) &&
6: (xmlStrEqual(method, (const xmlChar *) "html"))) {
7: - if (encoding != NULL) {
8: - htmlSetMetaEncoding(result, (const xmlChar *) encoding);
9: - } else {
10: - htmlSetMetaEncoding(result, (const xmlChar *) "UTF-8");
11: - }
12: if (indent != 0)
13: indent = 1;
14: htmlDocContentDumpFormatOutput(buf, result, (const char *) encoding,
1.2 ! paf 15: @@ -810,11 +805,6 @@
! 16: xmlOutputBufferFlush(buf);
! 17: } else if ((method != NULL) &&
! 18: (xmlStrEqual(method, (const xmlChar *) "xhtml"))) {
! 19: - if (encoding != NULL) {
! 20: - htmlSetMetaEncoding(result, (const xmlChar *) encoding);
! 21: - } else {
! 22: - htmlSetMetaEncoding(result, (const xmlChar *) "UTF-8");
! 23: - }
! 24: htmlDocContentDumpOutput(buf, result, (const char *) encoding);
! 25: xmlOutputBufferFlush(buf);
! 26: } else if ((method != NULL) &&
E-mail: