Skip to content

Commit

Permalink
Fix linebreaks in Guidebook event export
Browse files Browse the repository at this point in the history
We were converting newline characters to spaces, likely because the CSV export was breaking them somehow. Now that we use XLSX, all newline characters seem to work when uploaded to Guidebook.
  • Loading branch information
kitsuta committed Dec 4, 2024
1 parent 8236bb6 commit 5097832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uber/models/panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def guidebook_data(self):
'end_time': self.end_time_local.strftime('%I:%M %p'),
'location': self.location_label,
'track': self.track,
'description': normalize_newlines(description).replace('\n', ' '),
'description': description,
}

@property
Expand Down

0 comments on commit 5097832

Please sign in to comment.