From 5c943f921e023058ae878ebdcfb0baf9344ff925 Mon Sep 17 00:00:00 2001 From: "Guillaume (ioguix) de Rorthais" Date: Mon, 9 Mar 2009 22:00:41 -0400 Subject: [PATCH] Fix bug #2654193 "space as first character in column bytea" --- classes/Misc.php | 2 ++ themes/default/global.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/classes/Misc.php b/classes/Misc.php index 0047d91d..44b79b7a 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -153,6 +153,8 @@ } break; case 'bytea': + $tag = 'div'; + $class = 'pre'; $out = $data->escapeBytea($str); break; case 'pre': diff --git a/themes/default/global.css b/themes/default/global.css index 75e3ed4c..48522239 100644 --- a/themes/default/global.css +++ b/themes/default/global.css @@ -417,3 +417,7 @@ border:1px solid #D9D95F; .normal_field { } + +.pre { +white-space:pre; +} \ No newline at end of file -- 2.39.5