summaryrefslogtreecommitdiff
path: root/docutils/docs/api
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-27 21:04:03 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-27 21:04:03 +0000
commit810c824a20b0fc98e291a81914be984dee8770fe (patch)
tree68ecfce7d3585664dfa81205845e1bb9cbbc4324 /docutils/docs/api
parentcc4c356a64f2017e20092e2a782a353baee3b1ba (diff)
downloaddocutils-810c824a20b0fc98e291a81914be984dee8770fe.tar.gz
fixed encoding/charset values in "html_prolog" & "html_head" parts, which should not have been interpolated
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3268 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs/api')
-rw-r--r--docutils/docs/api/publisher.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/docutils/docs/api/publisher.txt b/docutils/docs/api/publisher.txt
index 55883f1ae..66aaa06fb 100644
--- a/docutils/docs/api/publisher.txt
+++ b/docutils/docs/api/publisher.txt
@@ -132,11 +132,21 @@ html_body
html_head
``parts['html_head']`` contains the HTML ``<head>`` content, less
the stylesheet link and the ``<head>`` and ``</head>`` tags
- themselves.
+ themselves. The "Content-Type" meta tag's "charset" value is left
+ unresolved, as "%s"::
+
+ <meta http-equiv="Content-Type" content="text/html; charset=%s" />
+
+ The interpolation should be done by client code.
html_prolog
``parts['html_prolog]`` contains the XML declaration and the
- doctype declaration.
+ doctype declaration. The XML declaration's "encoding" attribute's
+ value is left unresolved, as "%s"::
+
+ <?xml version="1.0" encoding="%s" ?>
+
+ The interpolation should be done by client code.
html_subtitle
``parts['html_subtitle']`` contains the document subtitle,