summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-09-08 10:26:57 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-09-08 10:26:57 +0200
commit4f3835f45df4812135f16f388794649655538b30 (patch)
tree00a4e22f87f207cccf41644e8d4098457c1e2964 /includes
parent07e8086e75e4c7c44cee236a54b50f99b9f1716d (diff)
Improve output filters.
Fix filters that could lead to filtered HTML output. Do not remove empty lines anymore, except for the last line. Do not try to loop over each line of the output if no filter are defined.
Diffstat (limited to 'includes')
-rw-r--r--includes/config.defaults.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/config.defaults.php b/includes/config.defaults.php
index aca58ff..eb411f7 100644
--- a/includes/config.defaults.php
+++ b/includes/config.defaults.php
@@ -23,6 +23,9 @@ $config = array(
'order' => array('routers', 'commands', 'parameters', 'buttons')
),
+ // Filters
+ 'filters' => array(),
+
// Misc
'misc' => array(
// Logs file when commands will be written