Posted by salvis on August 28, 2011 at 8:18pm
2 followers
| Project: | Devel |
| Version: | 8.x-1.x-dev |
| Component: | devel |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Right now krumo's string output is wrapped (like HTML), i.e. multiple spaces and newlines are ignored. I see no benefit in removing this information, and I propose to add
white-space: pre;
to the div.krumo-preview style in order to preserve white space.
In fact, I think this is a bug, because if you need to see the text as it is in the variable, you can't...
Comments
#1
Here's the patch.
The skin.css files all have CR/LFs, so the added line has the CR, too.
#2
Anyone care to comment on this?
#3
The last submitted patch, devel.krumo_.preformatted.1262694.1.patch, failed testing.
#4
Ah, yes, the testbot doesn't like the line endings (see #1). Never mind...
#5
Committed to 8/7/6.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.