Annotation of parser3/src/lib/patches/libxslt_html_output_no_charset_meta.patch, revision 1.1
1.1 ! paf 1: --- libxslt/xsltutils.c.0 Sat Dec 1 06:55:00 2001
! 2: +++ libxslt/xsltutils.c Wed Jan 23 14:40:49 2002
! 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,
! 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: