Opened 5 years ago

Closed 5 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


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 5 years ago.
patch as described in the ticket

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by chickamade

patch as described in the ticket

comment:1 Changed 5 years ago by anonymous

Easy pickings: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
UI/UX: set

comment:2 Changed 5 years ago by Łukasz Rekucki

Triage Stage: UnreviewedReady for checkin

comment:3 Changed 5 years ago by Malcolm Tredinnick

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