Skip to content

Conversation

@sebsto
Copy link
Contributor

@sebsto sebsto commented Jun 15, 2024

Fix #1
The issue was that \n chars present in stdErr or stdOut are being replaced by spaces ( ) by the <p> tag.
I switched to <pre> to preserve text formatting.
I reduce line height to 1em to avoid vertical spaces between the lines.

From W3 School

Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source code.

@sebsto sebsto requested a review from MarwaneKoutar June 15, 2024 10:56
@sebsto sebsto assigned sebsto and MarwaneKoutar and unassigned sebsto Jun 15, 2024
@sebsto sebsto added the bug Something isn't working label Jun 15, 2024
@MarwaneKoutar MarwaneKoutar merged commit d4a2178 into main Jun 15, 2024
@sebsto sebsto deleted the sebsto/console_output branch June 16, 2024 19:12
sebsto pushed a commit that referenced this pull request Jun 16, 2024
Merge pull request #3 from swift-server-community/sebsto/console_output
@github-actions
Copy link

🎉 This PR is included in version 1.1.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix the output windows for better readability

3 participants