Fix equation regexp

This commit is contained in:
Sauli Anto 2019-09-28 18:09:39 +03:00
parent 6e08776268
commit fff7e87630

View File

@ -1,4 +1,4 @@
export const EQUATION_REGEXP = /^\\(\[|\().*?\\(\]|\))$/;
export const EQUATION_REGEXP = /^(\\\[.*?\\\]|\\\(.*?\\\))$/;
export const defaultConfig = {
engine: 'mathjax',