From bde590b5a6436ff1da448be55da743f0a8a71393 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 26 Aug 2015 09:34:49 +0930 Subject: [PATCH] Use PHP formatter rendering engine Removes dependency on XSLT extension --- framework/core/src/Core/Formatter/Formatter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/core/src/Core/Formatter/Formatter.php b/framework/core/src/Core/Formatter/Formatter.php index 7a9c00c95..77c5cf19e 100644 --- a/framework/core/src/Core/Formatter/Formatter.php +++ b/framework/core/src/Core/Formatter/Formatter.php @@ -22,6 +22,9 @@ class Formatter $configurator = new Configurator; $configurator->rootRules->enableAutoLineBreaks(); + $configurator->rendering->engine = 'PHP'; + $configurator->rendering->engine->cacheDir = storage_path() . '/app'; + $configurator->Escaper; $configurator->Autoemail; $configurator->Autolink;