[GH-ISSUE #74] Preserve whitespaces in messages #56

Closed
opened 2026-02-26 05:31:11 +03:00 by kerem · 1 comment
Owner

Originally created by @AlexeyKupershtokh on GitHub (May 21, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/74

I use log.io along with a project that uses pretty printing for objects/arrays in node.js. Log.io currently loses intents for these lines. To preserve them I would something like additional css property white-space:pre but this can prevent long lines from wrapping. Any ideas?

Originally created by @AlexeyKupershtokh on GitHub (May 21, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/74 I use log.io along with a project that uses pretty printing for objects/arrays in node.js. Log.io currently loses intents for these lines. To preserve them I would something like additional css property `white-space:pre` but this can prevent long lines from wrapping. Any ideas?
kerem closed this issue 2026-02-26 05:31:11 +03:00
Author
Owner

@msmathers commented on GitHub (Jan 16, 2020):

v0.4x has a completely rewritten UI component, now messages are rendered with a white-space: pre-wrap; style, which should address your issue.

<!-- gh-comment-id:575218555 --> @msmathers commented on GitHub (Jan 16, 2020): v0.4x has a completely rewritten UI component, now messages are rendered with a `white-space: pre-wrap;` style, which should address your issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#56
No description provided.