summaryrefslogtreecommitdiff
path: root/sphinx/util/nodes.py
diff options
context:
space:
mode:
authorVictor "multun" Collod <victor.collod@epita.fr>2020-07-16 19:54:29 -0700
committerVictor "multun" Collod <victor.collod@epita.fr>2020-07-16 20:08:49 -0700
commit602105826a10217f8940044bb40aad6529f5da50 (patch)
treeb24574c05a3d4186910f2e201a4516526c6b9214 /sphinx/util/nodes.py
parenta4494e87b0f8ddcd30487128266d4694f44b1272 (diff)
downloadsphinx-git-602105826a10217f8940044bb40aad6529f5da50.tar.gz
i18n: process math_block as a literal node
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r--sphinx/util/nodes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py
index 510593757..b4d796f61 100644
--- a/sphinx/util/nodes.py
+++ b/sphinx/util/nodes.py
@@ -242,6 +242,7 @@ def is_translatable(node: Node) -> bool:
LITERAL_TYPE_NODES = (
nodes.literal_block,
nodes.doctest_block,
+ nodes.math_block,
nodes.raw,
)
IMAGE_TYPE_NODES = (