diff options
author | Christian Schneider | 2023-02-15 22:29:32 +0100 |
---|---|---|
committer | Christian Schneider | 2023-02-15 22:29:32 +0100 |
commit | 5d5137be29cba9352226ab0781e72b5c20de89b9 (patch) | |
tree | c65655ad8360057a7437eb902b7e245e11f70441 | |
parent | 633d3a28a45b7be184c0a55297cc4e53e792ee72 (diff) | |
download | itools-5d5137be29cba9352226ab0781e72b5c20de89b9.tar.gz itools-5d5137be29cba9352226ab0781e72b5c20de89b9.tar.bz2 itools-5d5137be29cba9352226ab0781e72b5c20de89b9.zip |
Do not prepend unicode block characters at beginning of lines for edplain
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index f148b58..91342bd 100644 --- a/it_debug.class +++ b/it_debug.class @@ -211,7 +211,7 @@ static function dump($args, $p = []) if ($p['html']) return "<pre title='$title' style='color:#c00; text-align:left; background:white; border-bottom:1px solid #ddd; z-index:9999; position:relative; line-height:1'>$r</pre>\n"; else - return $ansiok || $p['short'] ? "$r\n" : "\u{2588}\u{258c}" . preg_replace("#\n#", "\n\u{2588} ", "$r") . "\n"; + return $ansiok || $p['short'] || EDC('edplain') ? "$r\n" : "\u{2588}\u{258c}" . preg_replace("#\n#", "\n\u{2588} ", "$r") . "\n"; } /** |