summaryrefslogtreecommitdiff
path: root/docutils/utils/math
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-09 19:45:24 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-09 19:45:24 +0000
commit96ea08cccc773930c57ff91ec24644ae3b0a0854 (patch)
tree75ab9d562f7ff11a71fef575080dd3a4f46f8ef1 /docutils/utils/math
parenta1f19a919e6320e61e5b30544f0b329f5c6b7468 (diff)
downloaddocutils-96ea08cccc773930c57ff91ec24644ae3b0a0854.tar.gz
Fix : string containing backslash to raw
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8939 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/utils/math')
-rw-r--r--docutils/utils/math/latex2mathml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/utils/math/latex2mathml.py b/docutils/utils/math/latex2mathml.py
index 97e58e530..46c5ec798 100644
--- a/docutils/utils/math/latex2mathml.py
+++ b/docutils/utils/math/latex2mathml.py
@@ -947,7 +947,7 @@ def handle_cmd(name, node, string):
return node, string
if name == 'idotsint':
- node = parse_latex_math(node, '\int\dotsi\int')
+ node = parse_latex_math(node, r'\int\dotsi\int')
return node, string
if name in thick_operators: