Giter Site home page Giter Site logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Just tested the makeBold() and makeItalic() methods with e.g.:
return " *\u00a0" + in + "\u00a0* ";
But at least my jabber client (gajim) show then no bold or italic text.

Original comment by [email protected] on 20 Jan 2011 at 5:48

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024

Original comment by [email protected] on 22 Jan 2011 at 6:28

  • Changed state: WaitingForRelease

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Fixed in 1.7.3

Original comment by [email protected] on 22 Jan 2011 at 8:07

  • Changed state: Fixed

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
FYI: Some jabber clients wont show the bold/italic text if there is a 
whitespace before/after the */?. I could reproduce this behavior, with 2 of my 
clients: gajim and psi.

Original comment by [email protected] on 23 Jan 2011 at 10:57

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
I've just added a leading space for the ending star " * ". Do you have the bug 
with the 1.7.3 with the help command for example ?

Original comment by [email protected] on 23 Jan 2011 at 11:23

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Yes, this was with 1.7.3 and the help command. The leading space breaks the 
bold for me.

Original comment by [email protected] on 23 Jan 2011 at 11:29

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024

Original comment by [email protected] on 23 Jan 2011 at 11:51

  • Changed state: New

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
finally won't fix.
We now use XHTML formatting.
If your xmpp client doesn't support XHTML, it will show old formatting.
But old formatting by using * or _ is more a trick than a real feature because 
all xmpp clients manage that in different ways...

Original comment by [email protected] on 2 Feb 2011 at 9:06

  • Changed state: WontFix

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Issue 86 has been merged into this issue.

Original comment by [email protected] on 8 Feb 2011 at 2:17

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
There are many clients which do not support xhtml messages. This goes for the 
two I tested: Psi and Miranda.
However, a way better way, even as workaround, is using BBcode. I now use 
gTalkSMS like this and am happy with it.



XmppMsg.java:108

public String generateFmtTxt() {
    return _message.toString()
        .replaceAll(FontBegin, "")
        .replaceAll(BoldBegin, " [b]")
        .replaceAll(BoldEnd, "[/b] ")
        .replaceAll(ItalicBegin, " [u]")
        .replaceAll(ItalicEnd, "[/u] ");
}

Original comment by [email protected] on 10 Feb 2011 at 2:10

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
BBCode appears to be specific to the MSN protocol, and pidgin doesn't support 
it.  Does the gtalk UI support it?  If not, I'd have to recommend we do not go 
this route.

Original comment by [email protected] on 10 Feb 2011 at 11:47

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Both formating styles have it's disadvantages. Only the user can decide which 
fits best. Making this an option is at as easy as an if else block.
I am in favour of an additional option, as it turns out that there are XMPP 
clients out there, that dont proper support xhtml. But first we have to 
reorganised the settings.

Original comment by [email protected] on 11 Feb 2011 at 7:22

from gtalksms.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Agreed, an option to select the preferred non-xhtml formatting would be perfect.

Original comment by [email protected] on 11 Feb 2011 at 11:57

from gtalksms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.