diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 72e4b7576..86a30e700 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -907,7 +907,7 @@ \renewenvironment{sphinxthebibliography}[1] {\cleardoublepage\phantomsection - \begin{thebibliography}{\detokenize{#1}}} + \begin{thebibliography}{1}} {\end{thebibliography}} \fi diff --git a/sphinx/texinputs/sphinxhowto.cls b/sphinx/texinputs/sphinxhowto.cls index 81c3cf319..6980f10a1 100644 --- a/sphinx/texinputs/sphinxhowto.cls +++ b/sphinx/texinputs/sphinxhowto.cls @@ -91,7 +91,7 @@ % For an article document class this environment is a section, % so no page break before it. \newenvironment{sphinxthebibliography}[1]{% - \begin{thebibliography}{\detokenize{#1}}% + \begin{thebibliography}{1}% \addcontentsline{toc}{section}{\bibname}}{\end{thebibliography}} diff --git a/sphinx/texinputs/sphinxmanual.cls b/sphinx/texinputs/sphinxmanual.cls index 8db15dd8d..2c313ed19 100644 --- a/sphinx/texinputs/sphinxmanual.cls +++ b/sphinx/texinputs/sphinxmanual.cls @@ -109,7 +109,7 @@ % For a report document class this environment is a chapter. \newenvironment{sphinxthebibliography}[1]{% \if@openright\cleardoublepage\else\clearpage\fi - \begin{thebibliography}{\detokenize{#1}}% + \begin{thebibliography}{1}% \addcontentsline{toc}{chapter}{\bibname}}{\end{thebibliography}} % Same for the indices.