[Jifty-commit] r1427 - in jifty: trunk/share/web/templates/__jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat Jul 1 16:32:55 EDT 2006
Author: nelhage
Date: Sat Jul 1 16:32:55 2006
New Revision: 1427
Modified:
jifty/ (props changed)
jifty/trunk/share/web/templates/__jifty/halo
Log:
r13516 at phanatique: nelhage | 2006-06-30 19:09:19 +0200
Fixing the halos-displaying-binary-data problem
Modified: jifty/trunk/share/web/templates/__jifty/halo
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/halo (original)
+++ jifty/trunk/share/web/templates/__jifty/halo Sat Jul 1 16:32:55 2006
@@ -114,7 +114,7 @@
<li>
<span class="fixed"><% $_->[1] %></span><br />
% if (@{$_->[2]}) {
-<b>Bindings:</b> <tt><% join(',', map {defined $_ ? ($_ =~ /\0/ ? "*BLOB*" : $_ ) : "undef"} @{$_->[2]}) %></tt><br />
+<b>Bindings:</b> <tt><% join(',', map {defined $_ ? ($_ =~ /[^[:space:][:graph:]]/ ? "*BLOB*" : $_ ) : "undef"} @{$_->[2]}) %></tt><br />
% }
<i><% _('%1 seconds', $_->[3]) %></i>
</li>
More information about the Jifty-commit
mailing list