mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1568: since "centered" directly contains text children, it should be a TextElement.
This commit is contained in:
parent
439018a4e6
commit
d2b955b7f9
1
CHANGES
1
CHANGES
@ -11,6 +11,7 @@ Bugs fixed
|
||||
|
||||
* #1563: :meth:`~sphinx.application.Sphinx.add_search_language` raises
|
||||
AssertionError for correct type of argument. Thanks to rikoman.
|
||||
* #1568: fix a crash when a "centered" directive contains a reference.
|
||||
|
||||
|
||||
Release 1.2.3 (released Sep 1, 2014)
|
||||
|
@ -107,7 +107,7 @@ class index(nodes.Invisible, nodes.Inline, nodes.TextElement):
|
||||
*entrytype* is one of "single", "pair", "double", "triple".
|
||||
"""
|
||||
|
||||
class centered(nodes.Part, nodes.Element):
|
||||
class centered(nodes.Part, nodes.TextElement):
|
||||
"""Deprecated."""
|
||||
|
||||
class acks(nodes.Element):
|
||||
|
Loading…
Reference in New Issue
Block a user