diff --git a/lib/core/libimagrt/src/logger.rs b/lib/core/libimagrt/src/logger.rs index 8a50d90d..46086cfd 100644 --- a/lib/core/libimagrt/src/logger.rs +++ b/lib/core/libimagrt/src/logger.rs @@ -77,6 +77,8 @@ impl ImagLogger { pub fn new(matches: &ArgMatches, config: Option<&Configuration>) -> Result { let mut handlebars = Handlebars::new(); + handlebars.register_escape_fn(::handlebars::no_escape); + handlebars.register_helper("black" , Box::new(self::template_helpers::ColorizeBlackHelper)); handlebars.register_helper("blue" , Box::new(self::template_helpers::ColorizeBlueHelper)); handlebars.register_helper("cyan" , Box::new(self::template_helpers::ColorizeCyanHelper));