You'd want to perform this substitution on the value of orig_message in
the Base._publish method in friends/utils/base.py. Replace the newlines
with br tags at the last possible second before submitting the message
into the dee model.
--
You received this bug notification because you are a
Yeah that makes a lot more sense. Can you point me to the file that does
this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1261890
Title:
Newlines don't seem to work
To manage notifications
Seems like the replace only replaces one \n at a time. Think we have
to reopen this bug :(
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1261890
Title:
Newlines don't seem to work
To manage
It just occurred to me that an easier fix for this would be to s/\n/br
// on the friends side.
** Changed in: friends-app (Ubuntu)
Status: Fix Released = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Branch linked: lp:ubuntu/trusty-proposed/friends-app
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1261890
Title:
Newlines don't seem to work
To manage notifications about this bug go to:
This bug was fixed in the package friends-app -
0.92.0+14.04.20140217-0ubuntu1
---
friends-app (0.92.0+14.04.20140217-0ubuntu1) trusty; urgency=low
[ Kai Mast ]
* Fix display of newlines. (LP: #1261890)
[ Scott Sweeny ]
* Remove iconSource definition from accountDelegate
** Branch linked: lp:~kai-mast/friends-app/newlines
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1261890
Title:
Newlines don't seem to work
To manage notifications about this bug go to:
** Changed in: friends-app
Assignee: (unassigned) = Kai Mast (kai-mast)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1261890
Title:
Newlines don't seem to work
To manage notifications about
** Changed in: friends
Status: Incomplete = Invalid
** Also affects: friends-app (Ubuntu)
Importance: Undecided
Status: New
** Changed in: friends-app (Ubuntu)
Status: New = Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is