[2.1.x] Fixed crash building translated docs since Sphinx 1.8.
Backport of 7206601040
from master.
This commit is contained in:
parent
cd9391ca3d
commit
39fd80470c
|
@ -210,6 +210,8 @@ class ConsoleNode(nodes.literal_block):
|
|||
Custom node to override the visit/depart event handlers at registration
|
||||
time. Wrap a literal_block object and defer to it.
|
||||
"""
|
||||
tagname = 'ConsoleNode'
|
||||
|
||||
def __init__(self, litblk_obj):
|
||||
self.wrapped = litblk_obj
|
||||
|
||||
|
|
Loading…
Reference in New Issue