summaryrefslogtreecommitdiff
path: root/sphinx/util/template.py
diff options
context:
space:
mode:
authorKai Welke <kai687@pm.me>2020-08-23 09:29:56 +0200
committerGitHub <noreply@github.com>2020-08-23 09:29:56 +0200
commit6b87b8030c16e195ccd8b2246fe8d5f6d24e893b (patch)
tree5da5f766e08743d37ccb54a83219edc46c02802b /sphinx/util/template.py
parentae9f0dd29998a9985aea90777e92e03cf1c9d591 (diff)
downloadsphinx-git-6b87b8030c16e195ccd8b2246fe8d5f6d24e893b.tar.gz
Fix comment end string in LaTeXRenderer
Fix bug introduced by commit 5f82825e27 in `self.env.comment_end_string`
Diffstat (limited to 'sphinx/util/template.py')
-rw-r--r--sphinx/util/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/template.py b/sphinx/util/template.py
index bb078a2a2..8785928a9 100644
--- a/sphinx/util/template.py
+++ b/sphinx/util/template.py
@@ -85,7 +85,7 @@ class LaTeXRenderer(SphinxRenderer):
self.env.block_start_string = '<%'
self.env.block_end_string = '%>'
self.env.comment_start_string = '<#'
- self.env.comment_end_string = '<#'
+ self.env.comment_end_string = '#>'
class ReSTRenderer(SphinxRenderer):