Dotclear

Ticket #1454 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

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:2 Changed 12 years ago by nikrou

  • Owner changed from kozlika to nikrou

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

comment:4 Changed 12 years ago by franck

  • Milestone changed from 2.7 to 2.6.2
Note: See TracTickets for help on using tickets.

Sites map