prakash78456 / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

xhtml don't work fine on bitlbee #368

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
on bitlbee <br> tag is ignored and messages are in one line. I suggest to 
message in this way:
<html>line1</html>
<html>line2</html>
<html>line3</html>

instead

<html>line1<br>line2<br>line3<br></html>

Original issue reported on code.google.com by varogami@gmail.com on 13 Sep 2014 at 6:32

GoogleCodeExporter commented 8 years ago
I'll try it to see if there is no impacts on the other xmpp providers

Original comment by Florent....@gmail.com on 13 Oct 2014 at 8:01

GoogleCodeExporter commented 8 years ago
Do you have a exemple with a message sent by te app? because I'm using a 
standard line break (get by a system call). I'm not remember having any html 
separator in the app (except for the help panel)

Original comment by Florent....@gmail.com on 19 Oct 2014 at 2:04

GoogleCodeExporter commented 8 years ago
with other providers I get something like this, If it can help you:
<html xmlns='http://jabber.org/protocol/xhtml-im'><body 
xmlns='http://www.w3.org/1999/xhtml'><p><span 
style='font-weight:bold;'>test</span></p></body></html>
<html xmlns='http://jabber.org/protocol/xhtml-im'><body 
xmlns='http://www.w3.org/1999/xhtml'><p><span 
style='font-weight:bold;'>test</span></p></body></html>

The are two messages sent from pidgin (https://www.pidgin.im/) to bitlbee 
(http://www.bitlbee.org/) with weechat like client (http://weechat.org/).
I sent:
test
test
with bold text type

A example with gtalksms app is when launch help:

<html xmlns='http://jabber.org/protocol/xhtml-im'><body 
xmlns='http://www.w3.org/1999/xhtml'><p style='font-family:null'><span  
style=''>Available commands:<br/>- <span 
style='font-weight:bold'>"help"</span>: shows this help.<br/>- <span 
style='font-weight:bold'>"help:all"</span>: shows full help.<br/>- <span 
style='font-weight:bold'>"help:about"</span>: displays information about the 
application.<br/>- <span style='font-weight:bold'>"help:changelog"</span>: 
displays the change logs.<br/>- <span  
style='font-weight:bold'>"help:categories"</span> or <span 
style='font-weight:bold'>"help:cat"</span>: shows the help categories.<br/>- 
<span style='font-weight:bold'>"help:#command#"</span> - <span style='font- 
weight:bold'>"help:#category#"</span></span></p></body></html>

Original comment by varogami@gmail.com on 19 Oct 2014 at 3:02