From 9e91215205213c6394a44585cb086f43cd7862a5 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Mon, 10 Nov 2008 22:47:59 +0100 Subject: [PATCH] Fixed to avoid a line break between size numbers and units. --- src/IDF/Views/Source.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IDF/Views/Source.php b/src/IDF/Views/Source.php index 56b9551..8395e7d 100644 --- a/src/IDF/Views/Source.php +++ b/src/IDF/Views/Source.php @@ -280,6 +280,7 @@ class IDF_Views_Source function IDF_Views_Source_PrettySize($size) { - return Pluf_Template::markSafe(Pluf_Utils::prettySize($size)); + return Pluf_Template::markSafe(str_replace(' ', ' ', + Pluf_Utils::prettySize($size))); }