<< Back to previous view

[QB-2441] Build log HTML view does not preserve whitespace in output
Created: 15/May/15  Updated: 15/May/15

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: 6.0.10
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Scott Hunter Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
It would be nice to preserve whitespace in log messages to allow aligned text in build output. I believe this simply requires the CSS rule white-space: pre to be added to the .log-entry class.

To test:

create a Execute Script step with:

logger.info('white space')

and compare the output in the web interface with the log file saved as a text file.

 Comments   
Comment by Scott Hunter [ 15/May/15 07:32 PM ]
Looks like JIRA didn't preserve my whitespace either. There should be multiple space characters between the words in my example.

{noformat}
logger.info('white space')
{noformat}
Generated at Thu Apr 18 08:26:47 UTC 2024 using JIRA 189.