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):