Menu

New lines sent in Lync show up as one line in Pidgin

Help
RB
2015-09-10
2016-02-02
  • RB

    RB - 2015-09-10

    I noticed that if someone is to send me text that contains new lines, it will show up in one line when Pidgin receives it.

    Is it possible to maintain those new lines?

     
  • Stefan Becker

    Stefan Becker - 2015-09-12

    Probably because of [bugs:#149], fixed by git commit 88d92025

     

    Related

    Bugs: #149

  • RK

    RK - 2016-02-02

    [bugs:#149] looks like opposite of this. Happens when someone copy some text and paste in Lync which contains newlines. In Pidgin I see all in single line without any newlines at all, same text sent to Lync client shows newlines. When typing newlines in Lync with [shift]+[enter], Pidgin correctly shows them.

    $ pidgin --version
    Pidgin 2.10.11 (libpurple 2.10.11)
    
    Sipe version: 1.20.1
    

    For example, in notepad typed 3 lines, newline after each line, copied and pasted in Lync and sent to Pidgin, UI shows all in single line:

    line1line2line3
    

    In debug log I see:

    (11:53:34) sipe: got message from sip:***: <P style="margin-bottom:0pt; font-size:10pt; line-height:normal;">line1</P><P style="margin-bottom:0pt; font-size:10pt; line-height:normal;">line2</P><P style="margin-bottom:0pt; font-size:10pt; line-height:normal;">line3</P>
    

    Seems that HTML P elements are not parsed correctly... maybe Pidgin bug?

     

    Related

    Bugs: #149

  • Johan Piculell

    Johan Piculell - 2017-02-27

    Hi. I'm also facing this issue using Pidgin 3.0 dev.
    And seems like it is a client side issue on 3.0 according to my quick check just now.

    Here is something sent from a 2.x Pidgin which is fine:

    (09:53:27) sipe: got message from sip:<anonymous>: Något
    Vettigt

    olika
    rader
    (09:53:27) webkit: JS: appendMessage("</anonymous>

    ltr\"> (09:53:27) \"><name>:</name> Något
    Vettigt

    olika
    rader
    ")

    And here is something sent from a 3.0 version (should be two lines, ra1 and rad2):

    (09:53:16) sipe: got message from sip:<anonymous>: rad1rad2
    (09:53:16) webkit: JS: appendMessage("</anonymous>

    ltr\"> (09:53:16) \"><name>:</name> rad1rad2
    ")

    Both logs taken on receiver side.

    Regards
    /Johan

     

    Last edit: Johan Piculell 2017-02-27

Log in to post a comment.

MongoDB Logo MongoDB