- more LaTeX escaping 2

This commit is contained in:
Wiesner András 2024-09-27 13:55:51 +02:00
parent ec61c42cfc
commit a01b1f1760

View File

@ -46,7 +46,7 @@ class TeXUtils
} }
static public function escape(string $str) : string { static public function escape(string $str) : string {
return preg_replace("/([$#%&_~])/", "\\\\$1", $str); return preg_replace("/([$#%&_~^])/", "\\\\$1", $str);
} }
} }