diff options
| author | Victor "multun" Collod <victor.collod@epita.fr> | 2020-07-16 19:54:29 -0700 |
|---|---|---|
| committer | Victor "multun" Collod <victor.collod@epita.fr> | 2020-07-16 20:08:49 -0700 |
| commit | 602105826a10217f8940044bb40aad6529f5da50 (patch) | |
| tree | b24574c05a3d4186910f2e201a4516526c6b9214 /sphinx/util/nodes.py | |
| parent | a4494e87b0f8ddcd30487128266d4694f44b1272 (diff) | |
| download | sphinx-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.py | 1 |
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 = ( |
