Merge pull request #7969 from multun/i18n-math-block

Fix #7968: i18n: process math_block as a literal node
This commit is contained in:
Takeshi KOMIYA 2020-07-18 12:45:27 +09:00 committed by GitHub
commit 689ba0a257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = (