From ed8710843ee935bdb485fc05e92ba4dba118df68 Mon Sep 17 00:00:00 2001 From: Bob van de Vijver Date: Wed, 22 Apr 2020 21:49:29 +0200 Subject: [PATCH] Escape Greek characters as well when using latex_escape_all in Twig --- Twig/BobVLatexExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Twig/BobVLatexExtension.php b/Twig/BobVLatexExtension.php index a6f7603..b19ab26 100644 --- a/Twig/BobVLatexExtension.php +++ b/Twig/BobVLatexExtension.php @@ -45,7 +45,7 @@ public function getName() { * @return mixed */ public function latexEscapeAll($text) { - return $this->parser->parseText($text, false, true, true); + return $this->parser->parseText($text, false, true, true, true); } }