tieto / sipe

A third-party Pidgin plugin for Microsoft Lync/OCS - clone of upstream http://repo.or.cz/w/siplcs.git
GNU General Public License v2.0
129 stars 24 forks source link

HTML markup / CSS styling comments visible in messages from Skype for Business #17

Open rhavenn opened 8 years ago

rhavenn commented 8 years ago

A co-worker updated to Windows 10, Office 2016 and the latest Skype for Business with a Lync 2010 backend. All the messages I get from him now have HTML / CSS comments in them.

I use weechat with bitlbee and libpurple with SIPE support added in.

For example a text I got was:

 <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face {font-family:"Segoe UI"; panose-1:2 11 5 2 4 2 4 2 2 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0in; margin-right:0in; margin-bottom:8.0pt; margin-left:0in; line-height:107%; font-size:11.0pt; font-family:"Calibri",sans-serif;}.MsoChpDefault {font-family:"Calibri",sans-serif;}.MsoPapDefault {margin-bottom:8.0pt; line-height:107%;} /* Page Definitions */ @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;}div.WordSection1 {page:WordSection1;}-->example

It looks like it's wrapping a HTML / CSS styling in a comment. "example" is the actual text sent.

a) Is this even a libpurple / SIPE issue or would this be better addressed with some sort of filter on the client side? Lync 2010 / 2013 client didn't have this issue and I just get plain text in my client.

b) If this is something that should be addresses in SIPE, let me know if you need more info / testing.

rhavenn commented 8 years ago

By "addressed with some sort of filter client side" I mean either bitlbee or weechat.

xnandersson commented 8 years ago

I think it is an option you can turn off. "Show formatting in incoming messages" in Preferences.

On 08/12/15 01:31, Henrik Hudson wrote:

By "addressed with some sort of filter client side" I mean either bitlbee or weechat.

— Reply to this email directly or view it on GitHub https://github.com/tieto/sipe/issues/17#issuecomment-162715110.