diff options
author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-13 16:15:23 +0000 |
---|---|---|
committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-13 16:15:23 +0000 |
commit | 1cae59c618cbcb78e5f08635629e7a27ac1e6cef (patch) | |
tree | 7acf6a78c0482faeb548a2b55af5917a1c365fee /HISTORY.txt | |
parent | db5f5b102935a161086dd82525d9eedac49bf448 (diff) | |
download | docutils-1cae59c618cbcb78e5f08635629e7a27ac1e6cef.tar.gz |
Refactor HTMLTranslator initialization and parts setup.
Use utils.xml_declaration().
Don't write charset (encoding) declaration if the intended output encoding
is not known.
Copy "meta" part content into "head" in `depart_document()`
(i.e. after collecting all items).
Obsoletes auxiliary method `add_meta()`. Remove it.
Changes to the HTML output (no space character before closing tag of XML
declaration, order of metadata elements) don't affect the HTML semantics,
styling, and rendering.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9240 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'HISTORY.txt')
-rw-r--r-- | HISTORY.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/HISTORY.txt b/HISTORY.txt index 5ce6f387b..d7136a264 100644 --- a/HISTORY.txt +++ b/HISTORY.txt @@ -51,6 +51,15 @@ Changes Since 0.19 * docutils/docutils/utils/__init__.py - New utility function `xml_declaration()`. + +* docutils/docutils/writers/_html_base.py + + - Refactoring of HTMLTranslator initialization and collecting of + document "parts". Adapt HTML writers importing `_html_base`. + + Changes to the HTML output (no space character before closing tag of + XML declaration, order of metadata elements) + don't affect the HTML semantics, styling, and rendering. * docutils/writers/latex2e/__init__.py |