Ticket #1454 (closed defect: fixed)
Ductile theme should not disable pre tag functionnality
Reported by: | pascalc | Owned by: | nikrou |
---|---|---|---|
Priority: | normal | Milestone: | 2.6.2 |
Component: | module:themes | Version: | 2.5 |
Severity: | normal | Keywords: | |
Cc: |
Description
pre tags in html have for purpose to display the text taking white space into account, this is particularily useful when you want to display source code, but also poetry, ascii art...
The Ductile theme overrides this default behaviour with this rule in style.css: pre {white-space: normal;}
I can't think of a good reason to override the pre tags default behaviour and basically make it behave as a div.
Change History
comment:1 Changed 12 years ago by franck
- Owner changed from team to kozlika
- Milestone changed from A definir to 2.7
comment:3 Changed 12 years ago by Nicolas <nikrou77@…>
- Status changed from new to closed
- Resolution set to fixed
(In [3d427735ca70]) When post contains a pre tag, preserve spaces at beginning of lines (no trim). Closes #1454
Note: See
TracTickets for help on using
tickets.