Edgewall Software
Modify

Ticket #209 (closed defect: invalid)

Opened 8 years ago

Last modified 6 years ago

Browser injects newlines when viewing files

Reported by: david.larsson@… Owned by: daniel
Priority: normal Milestone: 0.6.1
Component: version control/browser Version: 0.6
Severity: major Keywords:
Cc:
Release Notes:
API Changes:

Description

When I view a file from the repository in the browser, new lines are inserted on every new line. I guess this has something to do with that windows new lines \r\n are interpreted as two new lines instead of one….

I use windows XP on both server and client…

/Dave

Attachments

Change History

comment:1 Changed 8 years ago by daniel

  • Milestone set to 0.6.1
  • Priority changed from normal to highest
  • Severity changed from normal to major

comment:2 Changed 8 years ago by daniel

  • Owner changed from jonas to daniel
  • Status changed from new to assigned

comment:3 Changed 8 years ago by daniel

  • Resolution set to worksforme
  • Status changed from assigned to closed

I'm unable to duplicate this behavior.

Tested all combinations of:

  • Mozilla Firefox
  • IE6
  • trac.cgi
  • tracd

comment:4 Changed 8 years ago by david.larsson@…

  • Priority changed from highest to normal
  • Resolution worksforme deleted
  • Status changed from closed to reopened

I guess you have to view a windows formatted file from the repository (i.e. it should have \r\n as line breaks)

Regards
David

comment:5 Changed 8 years ago by david.larsson@…

  • Resolution set to invalid
  • Status changed from reopened to closed

It's probably a subversion bug….

comment:6 in reply to: ↑ description Changed 6 years ago by anonymous

Replying to david.larsson@benima.se:

When I view a file from the repository in the browser, new lines are inserted on every new line. I guess this has something to do with that windows new lines \r\n are interpreted as two new lines instead of one….

I use windows XP on both server and client…

/Dave

dadsadsadsadsadsadsa

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.