[Catalyst] Horizontal scrollbar on debug screen

Sebastian Riedel sri at oook.de
Wed Nov 30 00:56:15 CET 2005


Am 30.11.2005 um 00:47 schrieb Sebastian Riedel:

>
> Am 29.11.2005 um 16:59 schrieb Will Hawes:
>>
>> Caveat - just discovered that this change means that output from  
>> Data::Dumper gets crammed onto one line and isn't very readable.  
>> So a bit of work needs to be done on the error message:
>>
>> $error =~ s/\n/<br\/>/g;
>> $error =~ s/\B\s\B/&nbsp;/g;
>>
>>
>> The above formats the error message nicely without reintroducing  
>> the scrollbar. HTH.
>
> Are you sure?
> It looks fine in Safari and Firefox.

Oh wait, you use $c->error to display dumper output?
Fixed in trunk now. (added pre tags)


--
sebastian




More information about the Catalyst mailing list