Opened 14 years ago

Closed 13 years ago

#16331 closed Cleanup/optimization (fixed)

Wrap whitespace in <pre> tag in the TECHNICAL_500_TEMPLATE

Reported by: anh.hai.trinh@… Owned by: nobody
Component: Core (Other) Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description

The TECHNICAL_500_TEMPLATE can display a very long exception value in one line, which is very difficult to see as a whole (you'd have to scroll horizontally). This changeset apply the css 'white-space: pre-wrap' style to the <pre> tag to wrap it to browsers' width.

Attachments (1)

TECHNICAL_500_TEMPLATE-pre-whitespace-pre-wrap.patch (842 bytes ) - added by chickamade 14 years ago.
patch as described in the ticket

Download all attachments as: .zip

Change History (4)

by chickamade, 14 years ago

patch as described in the ticket

comment:1 by anonymous, 14 years ago

Easy pickings: set
UI/UX: set

comment:2 by Łukasz Rekucki, 14 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Malcolm Tredinnick, 13 years ago

Resolution: fixed
Status: newclosed

In [16637]:

Pre-formatted text wrapping change in technical debug page.

In (typically rare) cases, a very long exception line can appear that
requires horiztonal scrolling in the cut-and-paste exception layout box.
To make this fractionally more readable, we pre-wrap the text now.

Fixes #16331, based on a patch from Trinh Hai-Anh.

Note: See TracTickets for help on using tickets.
Back to Top