Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4196 closed defect (worksforme)

Blank lines stripped from default wiki pages when 1st edited (11.dev - [4308] )

Reported by: mark.m.mcmahon@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: mark.m.mcmahon@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

This is a windows machine (Windows XP, Python 2.4.2)

I got the latest source [4308] and Genshi (genshi-0.3.4-py2.4.egg) and started playing around with the Wiki.

Steps to Reproduce:

  • Go to a default wiki page that was not modified before e.g. TracTickets
  • Notice how the page is formatted (e.g. spaces between certain of the ticket Fields)
  • Now click to edit the page
  • Submit the page (with or without changes)

Notice how now there are no blank lines between any of the ticket fields.

If you edit the page and add blank lines yourself then they are preserved.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

Right, all the whitespace gets squished with Genshi 0.3.4, but this has been recently fixed in [Genshi 425].

comment:2 by Matthew Good, 18 years ago

Actually this looks like a duplicate of #3925, which is still failing on the Trac and Genshi trunks.

comment:3 by Christian Boos, 18 years ago

Try to reproduce the issue like described, with Genshi ⇐ [g425], when you edit a page containing blank lines, you'll see that all the blank lines are gone.

i.e. if you have in the original text:

 * this 
 * that
 
 * and also this

you'll see in the textarea:

 * this
 * that
 * and also this

[G425] fixed that for me (actually I updated to the latest, but I'm pretty sure the relevant change is 425).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.