Make WordPress Core

Opened 13 years ago

Closed 13 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:


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 13 years ago.

Download all attachments as: .zip

Change History (4)

#2 @kylev
13 years ago

  • Patch set to No

#3 @ryan
13 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
Note: See TracTickets for help on using tickets.