WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#1069 closed defect (bug) (fixed)

Textile swallows leading spaces, problem in <pre>

Reported by: kylev Owned by: ryan
Milestone: Priority: normal
Severity: trivial Version: 1.5
Component: General Keywords:
Focuses: Cc:

Description

The textile plugin trims all spaces off the beginning and end of every line before beginning formatting. This is wrong as leading spaces have meaning in <pre> blocks. Other textile implementations don't do this.

The fix is to only trim the RHS with rtrim(). Patch attached.

Attachments (1)

wp-textile-rtrim.patch (547 bytes) - added by kylev 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:2 kylev9 years ago

  • Patch set to No

comment:3 ryan9 years ago

  • fixed_in_version set to 1.5.1
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 20
  • Status changed from new to closed

kylev9 years ago

Note: See TracTickets for help on using tickets.