Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
#1 | devel.krumo_.preformatted.1262694.1.patch | 1.68 KB | salvis |
Comments
Comment #1
salvisHere's the patch.
The skin.css files all have CR/LFs, so the added line has the CR, too.
Comment #2
salvisAnyone care to comment on this?
Comment #4
salvisAh, yes, the testbot doesn't like the line endings (see #1). Never mind...
Comment #5
salvisCommitted to 8/7/6.