From 6b87b8030c16e195ccd8b2246fe8d5f6d24e893b Mon Sep 17 00:00:00 2001 From: Kai Welke Date: Sun, 23 Aug 2020 09:29:56 +0200 Subject: [PATCH] Fix comment end string in LaTeXRenderer Fix bug introduced by commit 5f82825e27 in `self.env.comment_end_string` --- sphinx/util/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):