summaryrefslogtreecommitdiff
path: root/docutils/test/functional/expected/math_output_mathjax.html
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-11-13 16:15:23 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-11-13 16:15:23 +0000
commit4a8b25042a2f1ddd499ff2df339613809ce96ac0 (patch)
tree242cbd9b7f6af6796fc41d5e4272f450d4ecac86 /docutils/test/functional/expected/math_output_mathjax.html
parent456cd24b162f3ad2cf622fc059ff1aa2f49e9d30 (diff)
downloaddocutils-4a8b25042a2f1ddd499ff2df339613809ce96ac0.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@9240 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/expected/math_output_mathjax.html')
-rw-r--r--docutils/test/functional/expected/math_output_mathjax.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/test/functional/expected/math_output_mathjax.html b/docutils/test/functional/expected/math_output_mathjax.html
index 18b5ace74..a80d610eb 100644
--- a/docutils/test/functional/expected/math_output_mathjax.html
+++ b/docutils/test/functional/expected/math_output_mathjax.html
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>