Default Lucee error page doesn't respect whitespace in tag context code output

Description

The code lines here have whitespace in front of them for indentation in the source files but Lucee doesn't show it which makes it less readable:

Here's an example from a ColdBox error template that uses pre tags around the clode lines to preserve the whitespace

Environment

None

Attachments

3
  • 11 Sept 2019, 11:02 am
  • 05 Sept 2019, 04:59 pm
  • 05 Sept 2019, 04:55 pm

Activity

Show:

Pothys - MitrahSoft 12 February 2024 at 11:47

I've checked this issue with Lucee versions 6.0.1.68-SNAPSHOT and 5.4.5.12-SNAPSHOT. Now, the error stack trace will be the same as ACF, and the error template code lines are successfully preserves the whitespace.

Michael Offner 12 February 2024 at 10:55

Pothys - MitrahSoft 24 December 2020 at 14:32

Yes , this ticket still open. Because I tried to fix this using css. But need this change from the java file.

Michael Offner 18 December 2020 at 16:18

is still still open?

Brad Wood 17 September 2019 at 15:37

Thanks and let me know if you need any clarification.

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 5 September 2019 at 16:59
Updated 12 February 2024 at 11:47
Resolved 12 February 2024 at 11:47