Skip to content

Instantly share code, notes, and snippets.

@nkichukov
nkichukov / 0001-sipmsg-insert-line-breaks-between-paragraphs.patch
Created September 6, 2019 11:36 — forked from aswild/0001-sipmsg-insert-line-breaks-between-paragraphs.patch
pidgin-sipe hack to fix pasted line breaks in received messages from Lync
From 087937f81634bd315444c38b7e0906280e8d2895 Mon Sep 17 00:00:00 2001
From: Allen Wild <allenwild93@gmail.com>
Date: Tue, 23 Oct 2018 17:01:57 -0400
Subject: [PATCH] sipmsg: insert line breaks between paragraphs
Pasting text into Lync causes the lines to be split with <p></p> tags,
but pidgin doesn't display this and puts everything on one ugly line.
This is really a pidgin bug but I can hack around it in sipe by sneaking
in <br/> after every </p> we see (unless it's at the end of the message