Comments (13)
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.
Original comment by [email protected]
on 22 Jan 2011 at 6:28
- Changed state: WaitingForRelease
from gtalksms.
Fixed in 1.7.3
Original comment by [email protected]
on 22 Jan 2011 at 8:07
- Changed state: Fixed
from gtalksms.
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.
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.
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.
Original comment by [email protected]
on 23 Jan 2011 at 11:51
- Changed state: New
from gtalksms.
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.
Issue 86 has been merged into this issue.
Original comment by [email protected]
on 8 Feb 2011 at 2:17
from gtalksms.
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.
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.
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.
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)
- Attempting to connect after changing the connection settings results in a crash of com.ui.system HOT 2
- Ability to call public actions
- Control over more of the TTS parameters
- An accessibility service for literal control over the device
- No notifications on new SMS with new release HOT 16
- If write SMS db permission is not disabled, double SMS are in my log HOT 3
- Photo is not sent back via XMPP HOT 4
- Update German translation HOT 3
- xhtml don't work fine on bitlbee HOT 3
- Too many bytes sent per day HOT 1
- Commands not sending to phone. HOT 2
- Not getting alerts with 4.4.5 HOT 2
- Error writing to MUC: bad-request Invalid value for 'whois' HOT 5
- Mark as read does not work on Samsung Note 3 HOT 2
- Can't connect to jabber.org since 11/26 HOT 2
- remote access for Motorola moto g HOT 1
- reconnect on Google apps account does not respect custom server settings HOT 1
- Auto reconnect failing to google talk HOT 8
- File transfers not working
- GTalkSMS keyboard improvement HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtalksms.