We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a73ca5 commit fb72c97Copy full SHA for fb72c97
1 file changed
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 ("\\[" becomes "\[")
65
data = data.replace('\\\\', '\\DOUBLESLASH')
66
#data = data.replace('\\(', '')
67
#data = data.replace('\\)', '')
0 commit comments