We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228614a commit c6b743bCopy full SHA for c6b743b
document/core/util/mathjax2katex.py
@@ -61,7 +61,7 @@ def HasBalancedTags(s):
61
62
def ReplaceMath(cache, data):
63
old = data
64
- data = re.sub('[\\\\]\\[([0-9]|-)', '\\\\\\\\DOUBLESLASH\\[\\1', data) # Messed up by Bikeshed
+ data = re.sub('[\\\\][\\\\]\\[([0-9]|-)', '\\\\DOUBLESLASH[\\1', data) # Messed up by Bikeshed
65
data = data.replace('\\\\', '\\DOUBLESLASH')
66
#data = data.replace('\\(', '')
67
#data = data.replace('\\)', '')
0 commit comments