Fix #3198585: Extra line breaks
commit88d920258393a680c06e5dc5663f466ab359df6c
authorStefan Becker <stefan.becker@nokia.com>
Fri, 4 Mar 2011 22:46:17 +0000 (5 00:46 +0200)
committerStefan Becker <stefan.becker@nokia.com>
Fri, 4 Mar 2011 22:46:17 +0000 (5 00:46 +0200)
tree9467e79fb3b0de25bce4afc071a7aa2e3c2df751
parent342e074084373af8495a147191e12218ac2a5066
Fix #3198585: Extra line breaks

At least for some users the M$ OC client inserts line breaks (\r\n) into HTML
messages. Pidgin unfortunately does not consider \r and \n in HTML as white
space, but renders them as line breaks. So the pidgin-sipe user sees extra line
breaks.

If the content type is text/html then we now strip out \r and \n from the text.
src/core/sipmsg.c