diff --git a/Helper/Parser.php b/Helper/Parser.php index 988b965..5f51007 100644 --- a/Helper/Parser.php +++ b/Helper/Parser.php @@ -96,6 +96,8 @@ public function parseText($text, $checkTable = true, $removeLatex = false, $pars $text = str_replace("\\", "\\textbackslash ", $text); $text = str_replace("{", "\\{ ", $text); $text = str_replace("}", "\\} ", $text); + $text = str_replace("[", "\\[ ", $text); + $text = str_replace("]", "\\] ", $text); } // Special characters