From 53cddb9c9e119561458dff43a4b1be67de73cf4f Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 28 Oct 2017 15:47:06 +0200 Subject: Word-wrap for txt files This means there are no line numbers for .txt anymore, but I find it more important to have word wrap. Resolves: https://github.com/cweiske/phorkie/issues/31 --- data/config.default.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data/config.default.php') diff --git a/data/config.default.php b/data/config.default.php index 06b53ed..fce74c1 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -161,7 +161,8 @@ $GLOBALS['phorkie']['languages'] = array( 'txt' => array( 'title' => 'Text (plain)', 'mime' => 'text/plain', - 'geshi' => 'txt' + 'geshi' => 'txt', + 'renderer' => '\\phorkie\\Renderer_Plaintext' ), 'ts' => array( 'title' => 'TypoScript', -- cgit v1.2.3