diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-03-16 01:33:27 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-03-17 01:24:03 +0900 |
| commit | 3937ea816ffcf381d3af0356f58083639f69e0f7 (patch) | |
| tree | f78c13b257d42cdf3563172e35210c13a200cef1 /sphinx | |
| parent | d79d041f4f90818e0b495523fdcc28db12783caf (diff) | |
| download | sphinx-git-3937ea816ffcf381d3af0356f58083639f69e0f7.tar.gz | |
Fix #9009: LaTeX: "release" value with underscore leads to invalid LaTeX
The "release" variable is not escaped on the LaTeX output.
Diffstat (limited to 'sphinx')
| -rw-r--r-- | sphinx/templates/latex/latex.tex_t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/templates/latex/latex.tex_t b/sphinx/templates/latex/latex.tex_t index 43ad04b0e..a9fba98d0 100644 --- a/sphinx/templates/latex/latex.tex_t +++ b/sphinx/templates/latex/latex.tex_t @@ -71,7 +71,7 @@ \title{<%= title %>} \date{<%= date %>} -\release{<%= release %>} +\release{<%= release | e %>} \author{<%= author %>} <%- if logofilename %> \newcommand{\sphinxlogo}{\sphinxincludegraphics{<%= logofilename %>}\par} |
