From 44e91721b0edec28b4e37d3c6b8847854c108233 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 17 Aug 2014 09:15:38 -0700 Subject: Fix encoding issue in mail subject --- app/Core/Translator.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/Core') diff --git a/app/Core/Translator.php b/app/Core/Translator.php index 14a2d372..c34a40ba 100644 --- a/app/Core/Translator.php +++ b/app/Core/Translator.php @@ -46,6 +46,17 @@ class Translator self::$enable_escaping = false; } + /** + * Enable HTML escaping for translations + * + * @static + * @access public + */ + public static function enableEscaping() + { + self::$enable_escaping = true; + } + /** * Get a translation * -- cgit v1.2.3