summaryrefslogtreecommitdiff
path: root/docutils/writers
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:55:13 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:55:13 +0000
commit2d3cd5bd27e470ec77e2df1dff097841136b755f (patch)
tree6fc9a3cbb8ef60aeb58986837cb50ee486b6415f /docutils/writers
parent9ccf66efe1117504562863b3713e8c3654713de1 (diff)
downloaddocutils-2d3cd5bd27e470ec77e2df1dff097841136b755f.tar.gz
Fix multiple spaces after keyword
flake8 rule E271 git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9023 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/writers')
-rw-r--r--docutils/writers/_html_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/writers/_html_base.py b/docutils/writers/_html_base.py
index 8d52d1445..c3e7ee921 100644
--- a/docutils/writers/_html_base.py
+++ b/docutils/writers/_html_base.py
@@ -1240,7 +1240,7 @@ class HTMLTranslator(nodes.NodeVisitor):
math2html.DocumentParameters.displaymode = (math_env != '')
math_code = math2html.math2html(math_code)
elif self.math_output == 'mathml':
- if 'XHTML 1' in self.doctype:
+ if 'XHTML 1' in self.doctype:
self.doctype = self.doctype_mathml
self.content_type = self.content_type_mathml
converter = ' '.join(self.math_output_options).lower()